diff --git a/desmume/src/sndsdl.cpp b/desmume/src/sndsdl.cpp index ca238cd62..4f2c8bd34 100644 --- a/desmume/src/sndsdl.cpp +++ b/desmume/src/sndsdl.cpp @@ -73,9 +73,8 @@ static void MixAudio(void *userdata, Uint8 *stream, int len) { int SNDSDLInit(int buffersize) { - SDL_InitSubSystem(SDL_INIT_AUDIO); -// if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0); -// return -1; + if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0) + return -1; audiofmt.freq = 44100; audiofmt.format = AUDIO_S16SYS;