aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v100he.cpp
diff options
context:
space:
mode:
authorTravis Howell2012-06-09 15:36:47 +1000
committerTravis Howell2012-06-09 15:36:47 +1000
commit3968f3194893d88d1a8d73eef535b801e5415765 (patch)
tree727c81be5741b23e078ddf868908a646736c23eb /engines/scumm/he/script_v100he.cpp
parent8675f510012d0ebbd02e7f90adf6c7195a7f9e4b (diff)
downloadscummvm-rg350-3968f3194893d88d1a8d73eef535b801e5415765.tar.gz
scummvm-rg350-3968f3194893d88d1a8d73eef535b801e5415765.tar.bz2
scummvm-rg350-3968f3194893d88d1a8d73eef535b801e5415765.zip
SCUMM: Add HE101 version, for debugInput opcode difference in some HE100 games.
Diffstat (limited to 'engines/scumm/he/script_v100he.cpp')
-rw-r--r--engines/scumm/he/script_v100he.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index d2e01a6564..3e2053790e 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -2339,8 +2339,9 @@ void ScummEngine_v100he::o100_writeFile() {
}
void ScummEngine_v100he::o100_debugInput() {
- // Backyard Basketball uses older code for this opcode
- if (_game.id == GID_BASKETBALL) {
+ // Backyard Baseball 2003 / Basketball / Football 2002
+ // use older o72_debugInput code
+ if (_game.heversion == 101) {
ScummEngine_v72he::o72_debugInput();
return;
}