Add missing check to mixer sound
This commit is contained in:
parent
9aeaeacae0
commit
5a5305a34c
1 changed files with 2 additions and 1 deletions
|
|
@ -244,7 +244,8 @@ void I_ShutdownSound(void)
|
|||
Mix_Quit();
|
||||
#endif
|
||||
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
if (SDL_WasInit(SDL_INIT_AUDIO) == SDL_INIT_AUDIO)
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
|
||||
#ifdef HAVE_GME
|
||||
if (gme)
|
||||
|
|
|
|||
Loading…
Reference in a new issue