fix to the fix to the fix for sdl

This commit is contained in:
zeromus 2008-08-13 05:13:24 +00:00
parent 13c8810730
commit 573b55afdd
1 changed files with 5 additions and 9 deletions

View File

@ -421,15 +421,6 @@ SDL_GL_LoadLibrary(0);
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
error = FCEUI_Initialize();
if(error != 1) {
@ -446,6 +437,11 @@ SDL_GL_LoadLibrary(0);
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
UpdateInput(g_config);