Fixes #2227: removed wrong check for SDL Audio initialization

This commit is contained in:
Damjan Adamic
2015-04-25 18:03:47 +02:00
parent 2a667d1d53
commit eac8c0a535
2 changed files with 16 additions and 6 deletions
+3 -1
View File
@@ -107,7 +107,9 @@ int main(int argc, char *argv[])
#ifdef SIMU_AUDIO
sdlFlags |= SDL_INIT_AUDIO;
#endif
SDL_Init(sdlFlags);
if (SDL_Init(sdlFlags) < 0) {
fprintf(stderr, "ERROR: couldn't initialize SDL: %s\n", SDL_GetError());
}
#endif
registerEEpromInterfaces();