aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2012-06-01 14:30:47 +1000
committerTravis Howell2012-06-01 14:30:47 +1000
commit79f6f63daf1c3f33631748234ba4b582bdc2a219 (patch)
tree00b1ec96de3a2d0a4d0c409deb63c38d8afe0d72 /engines
parent72ec77a631ea1a79d7e151d2e33c0cfdac23e7c7 (diff)
downloadscummvm-rg350-79f6f63daf1c3f33631748234ba4b582bdc2a219.tar.gz
scummvm-rg350-79f6f63daf1c3f33631748234ba4b582bdc2a219.tar.bz2
scummvm-rg350-79f6f63daf1c3f33631748234ba4b582bdc2a219.zip
SCUMM: Add debugInput opcode difference in Backyard Basketball.
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/script_v100he.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index 56ea10f507..d2e01a6564 100644
--- a/engines/scumm/he/script_v100he.cpp
+++ b/engines/scumm/he/script_v100he.cpp
@@ -2339,6 +2339,12 @@ void ScummEngine_v100he::o100_writeFile() {
}
void ScummEngine_v100he::o100_debugInput() {
+ // Backyard Basketball uses older code for this opcode
+ if (_game.id == GID_BASKETBALL) {
+ ScummEngine_v72he::o72_debugInput();
+ return;
+ }
+
byte subOp = fetchScriptByte();
switch (subOp) {