[Scummvm-cvs-logs] scummvm master -> 79f6f63daf1c3f33631748234ba4b582bdc2a219

Kirben kirben at optusnet.com.au
Fri Jun 1 06:32:03 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
79f6f63daf SCUMM: Add debugInput opcode difference in Backyard Basketball.


Commit: 79f6f63daf1c3f33631748234ba4b582bdc2a219
    https://github.com/scummvm/scummvm/commit/79f6f63daf1c3f33631748234ba4b582bdc2a219
Author: Travis Howell (kirben at optusnet.com.au)
Date: 2012-05-31T21:30:47-07:00

Commit Message:
SCUMM: Add debugInput opcode difference in Backyard Basketball.

Changed paths:
    engines/scumm/he/script_v100he.cpp



diff --git a/engines/scumm/he/script_v100he.cpp b/engines/scumm/he/script_v100he.cpp
index 56ea10f..d2e01a6 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) {






More information about the Scummvm-git-logs mailing list