aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorColin Snover2016-12-11 12:22:10 -0600
committerColin Snover2016-12-11 12:31:45 -0600
commit6de396d78703d5a3bf0bc92268d1e51bb0ad2b5e (patch)
tree8719724bc0f6cd63769f8b51c35576311d4c0f0d /engines/sci/engine/workarounds.cpp
parentb930b4a74f8d2c8ae87a49e4e5c0e3cfd234762c (diff)
downloadscummvm-rg350-6de396d78703d5a3bf0bc92268d1e51bb0ad2b5e.tar.gz
scummvm-rg350-6de396d78703d5a3bf0bc92268d1e51bb0ad2b5e.tar.bz2
scummvm-rg350-6de396d78703d5a3bf0bc92268d1e51bb0ad2b5e.zip
SCI32: Add workaround for Hoyle5 startup call to kPlatform
Fixes Trac#9665.
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r--engines/sci/engine/workarounds.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 2f40f6c2c9..30f82e9eae 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -692,6 +692,12 @@ const SciWorkaroundEntry kPalVarySetPercent_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
+const SciWorkaroundEntry kPlatform32_workarounds[] = {
+ { GID_HOYLE5, -1, 0, 0, "hoyle4", "newRoom", NULL, 0, { WORKAROUND_FAKE, 1 } }, // at the start of the game, incorrectly uses SCI16 calling convention for kPlatform
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
const SciWorkaroundEntry kRandom_workarounds[] = {
{ GID_TORIN, 51400,64928, 0, "Blink", "init", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // when Lycentia knocks Torin out after he removes her collar
{ GID_TORIN, 51400,64928, 0, "Blink", "cycleDone", NULL, 0, { WORKAROUND_STILLCALL, 0 } }, // when Lycentia knocks Torin out after he removes her collar