aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-31 23:34:36 +0000
committerFilippos Karapetis2010-10-31 23:34:36 +0000
commite3dfadc6c1444a2b84ffcb3d40b9afe00df863bf (patch)
tree7b39138b8df55caaab0730776a3fe5587078e18a /engines/sci/engine/workarounds.cpp
parented8bfb00b97ee561632a6d814d1ba587ed47ae22 (diff)
downloadscummvm-rg350-e3dfadc6c1444a2b84ffcb3d40b9afe00df863bf.tar.gz
scummvm-rg350-e3dfadc6c1444a2b84ffcb3d40b9afe00df863bf.tar.bz2
scummvm-rg350-e3dfadc6c1444a2b84ffcb3d40b9afe00df863bf.zip
SCI: Fix for bug #3100292 - "QFG2: signature mismatch at the WIT"
svn-id: r53993
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 d4bab2c671..559d9f07ba 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -406,6 +406,12 @@ const SciWorkaroundEntry kStrCat_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
+const SciWorkaroundEntry kStrLen_workarounds[] = {
+ { GID_QFG2, 210, 2, 0, "", "export 21", 0xdeb, 0, { WORKAROUND_FAKE, 0 } }, // When saying something incorrect at the WIT, an integer is passed instead of a reference - bug #3100292
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry kUnLoad_workarounds[] = {
{ GID_CAMELOT, 921, 921, 1, "Script", "changeState", 0x36, 0, { WORKAROUND_IGNORE, 0 } }, // DEMO: While showing Camelot (and other places), the reference is invalid - bug #3035000
{ GID_CAMELOT, 921, 921, 1, "Script", "init", 0x36, 0, { WORKAROUND_IGNORE, 0 } }, // DEMO: When being attacked by the boar (and other places), the reference is invalid - bug #3035000