diff options
| -rw-r--r-- | base/commandLine.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp index faa4f1f0d1..68d31276f8 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -420,6 +420,8 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, char **ar  			END_OPTION  			DO_LONG_OPTION_OPT("joystick", "0") +				settings["joystick_num"] = option; +				settings.erase("joystick");  			END_OPTION  			DO_LONG_OPTION("platform")  | 
