[Scummvm-cvs-logs] scummvm-tools master -> 1fe5f31fb24d4441f6b217b1defa825c3fd6efda
Kirben
kirben at optusnet.com.au
Sat Jun 9 07:18:21 CEST 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
1fe5f31fb2 TOOLS: Add HE101 version to descumm, for debugInput opcode difference in some HE100 games.
Commit: 1fe5f31fb24d4441f6b217b1defa825c3fd6efda
https://github.com/scummvm/scummvm-tools/commit/1fe5f31fb24d4441f6b217b1defa825c3fd6efda
Author: Travis Howell (kirben at optusnet.com.au)
Date: 2012-06-08T22:18:02-07:00
Commit Message:
TOOLS: Add HE101 version to descumm, for debugInput opcode difference in some HE100 games.
Changed paths:
engines/scumm/descumm-tool.cpp
engines/scumm/descumm6.cpp
diff --git a/engines/scumm/descumm-tool.cpp b/engines/scumm/descumm-tool.cpp
index 374cb57..f2f826c 100644
--- a/engines/scumm/descumm-tool.cpp
+++ b/engines/scumm/descumm-tool.cpp
@@ -401,7 +401,7 @@ int main(int argc, char *argv[]) {
next_line_V345(outputLineBuffer);
break;
case 6:
- if (g_options.heVersion == 100)
+ if (g_options.heVersion >= 100)
next_line_HE_V100(outputLineBuffer);
else if (g_options.heVersion >= 72)
next_line_HE_V72(outputLineBuffer);
diff --git a/engines/scumm/descumm6.cpp b/engines/scumm/descumm6.cpp
index 8e8ca79..73ff9ff 100644
--- a/engines/scumm/descumm6.cpp
+++ b/engines/scumm/descumm6.cpp
@@ -2333,12 +2333,29 @@ void next_line_HE_V100(char *output) {
ext(output, "rp|cos");
break;
case 0xA8:
- ext(output, "x" "debugInput\0"
- "\x0h|case0,"
- "\x1Ap|case26,"
- "\x1Bh|case27,"
- "\x50h|case80,"
- "\x5Ch|case92");
+ // Backyard Baseball 2003 / Basketball / Football 2002
+ if (g_options.heVersion == 101) {
+ ext(output, "rh|debugInput");
+ } else {
+ // All other games
+ switch (get_byte()) {
+ case 0:
+ ext(output, "h|debugInput: case 0");
+ break;
+ case 26:
+ ext(output, "p|debugInput: case 26");
+ break;
+ case 27:
+ ext(output, "h|debugInput: case 27");
+ break;
+ case 80:
+ ext(output, "h|debugInput: case 80");
+ break;
+ case 92:
+ ext(output, "r|debugInput: case 92");
+ break;
+ }
+ }
break;
case 0xA9:
ext(output, "rh|getFileSize");
More information about the Scummvm-git-logs
mailing list