From 6feec9ed724ef6ddbe3b3478b18e64f580f949af Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 25 Jun 2016 14:20:16 -0500 Subject: SCI32: Add more workarounds for SCI2.1early games These games all share the same bad system script that always sends NULL as a second argument to kDoSound(play). --- engines/sci/engine/workarounds.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index 3a6cf0cff8..073bb93983 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -516,6 +516,8 @@ const SciWorkaroundEntry kDisposeScript_workarounds[] = { // gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround const SciWorkaroundEntry kDoSoundPlay_workarounds[] = { { GID_LSL6HIRES, -1, 64989, 0, NULL, "play", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // always passes an extra null argument + { GID_QFG4, -1, 64989, 0, NULL, "play", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // always passes an extra null argument + { GID_PQ4, -1, 64989, 0, NULL, "play", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // always passes an extra null argument SCI_WORKAROUNDENTRY_TERMINATOR }; -- cgit v1.2.3