From 79f6f63daf1c3f33631748234ba4b582bdc2a219 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 1 Jun 2012 14:30:47 +1000 Subject: SCUMM: Add debugInput opcode difference in Backyard Basketball. --- engines/scumm/he/script_v100he.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/scumm') 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) { -- cgit v1.2.3