aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-23 11:58:47 +0000
committerEugene Sandulenko2004-06-23 11:58:47 +0000
commit90032ce348e6f36883e7b5c0ae83ae55817e0f43 (patch)
treedeb2b21018d663e42105b4c0e78fe1e03e6f519e /base
parentef526eca8349b3f2de2f51458c0632b74390ffbc (diff)
downloadscummvm-rg350-90032ce348e6f36883e7b5c0ae83ae55817e0f43.tar.gz
scummvm-rg350-90032ce348e6f36883e7b5c0ae83ae55817e0f43.tar.bz2
scummvm-rg350-90032ce348e6f36883e7b5c0ae83ae55817e0f43.zip
Proper fix for detecting --platform command line switch
svn-id: r14023
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")