aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-06-23 10:23:44 +0000
committerMax Horn2004-06-23 10:23:44 +0000
commit55ad317aadb2660c20a5af3262e8dae338b94240 (patch)
treef20925e5d5afbdc6cb5735fa511f348c3e79d516
parent86af05599b1918d1ea61be2756e374c1b6769f0a (diff)
downloadscummvm-rg350-55ad317aadb2660c20a5af3262e8dae338b94240.tar.gz
scummvm-rg350-55ad317aadb2660c20a5af3262e8dae338b94240.tar.bz2
scummvm-rg350-55ad317aadb2660c20a5af3262e8dae338b94240.zip
As the comment above this code section states, the only reason we accept 1,2,3 here is for backward compatibility. 4 and 5 never were legal values, hence they shouldn't be detected
svn-id: r14015
-rw-r--r--common/util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/util.cpp b/common/util.cpp
index 5970dd8a80..bb7c4ed9ba 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -189,10 +189,6 @@ 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) {