aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 7c0cae6072..1eeb5cd1a2 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -410,7 +410,7 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
if (platform == Common::kPlatformUnknown)
goto ShowHelpAndExit;
- ConfMan.set("platform", platform, kTransientDomain);
+ ConfMan.set("platform", option, kTransientDomain);
END_OPTION
DO_LONG_OPTION_BOOL("multi-midi")