diff --git a/changelog.txt b/changelog.txt index f9e819c4..389c84ae 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ ---version 2.0.3 yet to be released--- +24-sep-2008 - punkrockguy318 - --inputcfg can now be used without a filename 24-sep-2008 - punkrockguy318 - [ 2085437 ] should fix issues with missing author field crashing fceux 24-sep-2008 - punkrockguy318 - [ 2047057 ] added uninstall script for gfceux diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index 590450ff..907aaf7a 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -448,7 +448,12 @@ SDL_GL_LoadLibrary(0); // 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(); - + std::string s; + g_config->getOption("SDL.InputCfg", &s); + + // update the input devices + UpdateInput(g_config); + if(romIndex <= 0) { ShowUsage(argv[0]); FCEUD_Message("\nError parsing command line arguments\n"); @@ -457,8 +462,7 @@ SDL_GL_LoadLibrary(0); } - // update the input devices - UpdateInput(g_config); + // update the emu core UpdateEMUCore(g_config);