fix to the fix to the fix for sdl
This commit is contained in:
parent
13c8810730
commit
573b55afdd
|
@ -421,15 +421,6 @@ SDL_GL_LoadLibrary(0);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(g_config->parse(argc,argv)==-1) {
|
|
||||||
printf("Error parsing config file\n");
|
|
||||||
SDL_Quit();
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// This is here so that a default fceux.cfg will be created on first
|
|
||||||
// run, even without a valid ROM to play.
|
|
||||||
g_config->save();
|
|
||||||
// initialize the infrastructure
|
// initialize the infrastructure
|
||||||
error = FCEUI_Initialize();
|
error = FCEUI_Initialize();
|
||||||
if(error != 1) {
|
if(error != 1) {
|
||||||
|
@ -446,6 +437,11 @@ SDL_GL_LoadLibrary(0);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is here so that a default fceux.cfg will be created on first
|
||||||
|
// run, even without a valid ROM to play.
|
||||||
|
g_config->save();
|
||||||
|
|
||||||
|
|
||||||
// update the input devices
|
// update the input devices
|
||||||
UpdateInput(g_config);
|
UpdateInput(g_config);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue