aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudvig Strigeus2001-11-06 20:18:26 +0000
committerLudvig Strigeus2001-11-06 20:18:26 +0000
commit3d947bf4091625e3a874b47d46328c98d99cb8d9 (patch)
tree2b2b4ec527219d8b8e74b3ff3ba55420f7560b5e
parent607f5adc3efff76b37235a4e6bab94aa09c8eb0b (diff)
downloadscummvm-rg350-3d947bf4091625e3a874b47d46328c98d99cb8d9.tar.gz
scummvm-rg350-3d947bf4091625e3a874b47d46328c98d99cb8d9.tar.bz2
scummvm-rg350-3d947bf4091625e3a874b47d46328c98d99cb8d9.zip
updates to version detection by Jeroen Janssen
svn-id: r3464
-rw-r--r--scummvm.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/scummvm.cpp b/scummvm.cpp
index b3b8f8eb06..9e0f23b93c 100644
--- a/scummvm.cpp
+++ b/scummvm.cpp
@@ -423,14 +423,14 @@ NextArg:;
struct VersionSettings {
char *filename;
char *gamename;
- byte id,major,minor,middle;
+ byte id,major,middle,minor;
};
static const VersionSettings version_settings[] = {
{"monkey", "Monkey Island 1", GID_MONKEY, 5, 2, 2},
{"monkey2", "Monkey Island 2: LeChuck's revenge", GID_MONKEY2, 5, 2, 2},
{"atlantis", "Indiana Jones 4 and the Fate of Atlantis", GID_INDY4, 5, 5, 0},
- {"fate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
+ {"playfate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
{"tentacle", "Day Of The Tenctacle", GID_TENTACLE, 6, 4, 2},
{"samnmax", "Sam & Max", GID_SAMNMAX, 6, 4, 2},
{NULL,NULL}
@@ -448,10 +448,14 @@ bool Scumm::detectGame() {
_middleScummVersion = gnl->middle;
_minorScummVersion = gnl->minor;
_gameText = gnl->gamename;
+ debug(1, "Detected game '%s', version %d.%d.%d",
+ gnl->gamename, gnl->major, gnl->middle, gnl->minor);
return true;
}
} while ((++gnl)->filename);
+ debug(1, "Failed game detection");
+
return true;
}