try to fix sdl config loading
This commit is contained in:
parent
91147a80e0
commit
9356512e9e
|
@ -420,6 +420,12 @@ SDL_GL_LoadLibrary(0);
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
return -1;
|
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
|
// This is here so that a default fceu.cfg will be created on first
|
||||||
// run, even without a valid ROM to play.
|
// run, even without a valid ROM to play.
|
||||||
|
|
Loading…
Reference in New Issue