aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-23 02:14:19 +0000
committerEugene Sandulenko2004-06-23 02:14:19 +0000
commit53a0eb87f133e97fc490e857906fb6e2df4a83f3 (patch)
tree61f31c02da50c36ebdb336c7fa359ae322592d1e /common
parenta7e85cab1a0f09782328c63ee22607936de58f28 (diff)
downloadscummvm-rg350-53a0eb87f133e97fc490e857906fb6e2df4a83f3.tar.gz
scummvm-rg350-53a0eb87f133e97fc490e857906fb6e2df4a83f3.tar.bz2
scummvm-rg350-53a0eb87f133e97fc490e857906fb6e2df4a83f3.zip
Fixed recognition of command-line --platform option
svn-id: r14005
Diffstat (limited to 'common')
-rw-r--r--common/util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/util.cpp b/common/util.cpp
index bb7c4ed9ba..5970dd8a80 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -189,6 +189,10 @@ Platform parsePlatform(const String &str) {
return kPlatformAtariST;
else if (!strcmp(s, "3"))
return kPlatformMacintosh;
+ else if (!strcmp(s, "4"))
+ return kPlatformFMTowns;
+ else if (!strcmp(s, "5"))
+ return kPlatformWindows;
const PlatformDescription *l = g_platforms;
for (; l->code; ++l) {