diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index db44b54a..d1851032 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -420,6 +420,12 @@ SDL_GL_LoadLibrary(0); SDL_Quit(); return -1; } + + if(g_config->parse(argc,argv)) { + printf("Error parsing config file\n"); + SDL_Quit(); + return -1; + } // This is here so that a default fceu.cfg will be created on first // run, even without a valid ROM to play.