1
0
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:
janwas 2004-06-13 15:32:34 +00:00
parent 2442f558a2
commit 641ad1e382

View File

@ -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);
}