diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index 6a1820a2..0bd302b5 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -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);