diff options
-rw-r--r-- | scummvm.cpp | 8 |
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; } |