Ticket #7897: atlantis_demo_patch

File atlantis_demo_patch, 1.4 KB (added by SF/japj, 18 years ago)

atlantis demo patch

Line 
1Index: scummvm.cpp
2===================================================================
3RCS file: /cvsroot/scummvm/scummvm/scummvm.cpp,v
4retrieving revision 1.15
5diff -u -r1.15 scummvm.cpp
6--- scummvm.cpp 2001/11/05 19:21:49 1.15
7+++ scummvm.cpp 2001/11/06 20:04:05
8@@ -471,14 +471,14 @@
9 struct VersionSettings {
10 char *filename;
11 char *gamename;
12- byte id,major,minor,middle;
13+ byte id,major,middle,minor;
14 };
15
16 static const VersionSettings version_settings[] = {
17 {"monkey", "Monkey Island 1", GID_MONKEY, 5, 2, 2},
18 {"monkey2", "Monkey Island 2: LeChuck's revenge", GID_MONKEY2, 5, 2, 2},
19 {"atlantis", "Indiana Jones 4 and the Fate of Atlantis", GID_INDY4, 5, 5, 0},
20- {"fate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
21+ {"playfate", "Indiana Jones 4 and the Fate of Atlantis (Demo)", GID_INDY4, 5, 5, 0},
22 {"tentacle", "Day Of The Tenctacle", GID_TENTACLE, 6, 4, 2},
23 {"samnmax", "Sam & Max", GID_SAMNMAX, 6, 4, 2},
24 {NULL,NULL}
25@@ -496,9 +496,14 @@
26 _middleScummVersion = gnl->middle;
27 _minorScummVersion = gnl->minor;
28 _gameText = gnl->gamename;
29+ debug(1,"detected scumm game info:\nname %s\nversion %d.%d.%d\n",
30+ gnl->gamename,gnl->id,gnl->major,gnl->middle,gnl->minor);
31+
32 return true;
33 }
34 } while ((++gnl)->filename);
35+
36+ debug(1,"Failed Game Detection\n");
37
38 return true;
39 }