This is more useful not commented, desmume handles the error fine.

This commit is contained in:
riccardom 2009-01-16 19:52:08 +00:00
parent 747cc72948
commit 58ac31761a
1 changed files with 2 additions and 3 deletions

View File

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