Re #2260: class Profile dependency removed from simulatorinterface

This commit is contained in:
Damjan Adamic
2015-06-01 21:37:25 +02:00
parent 61c7abf214
commit 67cd321400
9 changed files with 43 additions and 21 deletions
+3 -1
View File
@@ -110,7 +110,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
SimulatorDialog *dialog;