--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---
|
||||
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
|
||||
|
|
|
@ -448,6 +448,11 @@ 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]);
|
||||
|
@ -457,8 +462,7 @@ SDL_GL_LoadLibrary(0);
|
|||
}
|
||||
|
||||
|
||||
// update the input devices
|
||||
UpdateInput(g_config);
|
||||
|
||||
|
||||
// update the emu core
|
||||
UpdateEMUCore(g_config);
|
||||
|
|
Loading…
Reference in New Issue