forked from 0ad/0ad
moved fmod shutdown here from main - this module is responsible for that.
This was SVN commit r485.
This commit is contained in:
parent
2442f558a2
commit
641ad1e382
@ -56,7 +56,10 @@ static void Sound_dtor(Sound* s)
|
||||
|
||||
Handle sound_load(const char* filename)
|
||||
{
|
||||
ONCE(FSOUND_Init(44100, 32, 0));
|
||||
ONCE(
|
||||
FSOUND_Init(44100, 32, 0);
|
||||
atexit2(FSOUND_Close, 0, CC_STDCALL_0);
|
||||
);
|
||||
|
||||
return h_alloc(H_Sound,filename,0,0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user