maybe fix crash on exit from sloppy sound deinit code

This commit is contained in:
zeromus 2009-11-02 00:02:21 +00:00
parent d515741586
commit 47ed3844cc
2 changed files with 2 additions and 1 deletions

View File

@ -478,7 +478,7 @@ static void DriverKill(void)
if(soundo) if(soundo)
{ {
TrashSound(); TrashSoundNow();
} }
CloseWave(); CloseWave();

View File

@ -3,6 +3,7 @@ extern int32 fps_scale;
void ConfigSound(); void ConfigSound();
int InitSound(); int InitSound();
void TrashSound(); void TrashSound();
void TrashSoundNow();
void win_SoundSetScale(int scale); void win_SoundSetScale(int scale);
void win_SoundWriteData(int32 *buffer, int count); void win_SoundWriteData(int32 *buffer, int count);
void win_Throttle(); void win_Throttle();