--inputcfg will no longer crash without a filename
This commit is contained in:
parent
94e8c6389a
commit
5cfc44801a
|
@ -1,4 +1,5 @@
|
||||||
---version 2.0.3 yet to be released---
|
---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
|
24-sep-2008 - punkrockguy318 - [ 2085437 ] should fix issues with missing
|
||||||
author field crashing fceux
|
author field crashing fceux
|
||||||
24-sep-2008 - punkrockguy318 - [ 2047057 ] added uninstall script for gfceux
|
24-sep-2008 - punkrockguy318 - [ 2047057 ] added uninstall script for gfceux
|
||||||
|
|
|
@ -448,7 +448,12 @@ SDL_GL_LoadLibrary(0);
|
||||||
// This is here so that a default fceux.cfg will be created on first
|
// This is here so that a default fceux.cfg will be created on first
|
||||||
// run, even without a valid ROM to play.
|
// run, even without a valid ROM to play.
|
||||||
g_config->save();
|
g_config->save();
|
||||||
|
std::string s;
|
||||||
|
g_config->getOption("SDL.InputCfg", &s);
|
||||||
|
|
||||||
|
// update the input devices
|
||||||
|
UpdateInput(g_config);
|
||||||
|
|
||||||
if(romIndex <= 0) {
|
if(romIndex <= 0) {
|
||||||
ShowUsage(argv[0]);
|
ShowUsage(argv[0]);
|
||||||
FCEUD_Message("\nError parsing command line arguments\n");
|
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
|
// update the emu core
|
||||||
UpdateEMUCore(g_config);
|
UpdateEMUCore(g_config);
|
||||||
|
|
Loading…
Reference in New Issue