aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-27 09:40:29 +0000
committerFilippos Karapetis2010-07-27 09:40:29 +0000
commit742a226312a8d4f31705a65bdd3c960ae007e8b3 (patch)
tree2cb9676d68ea7b52c3a7dff7c726003ee35b1981 /engines/sci/engine/workarounds.cpp
parent35ecdd59ad9befbb9e6611160a9996055dbba07e (diff)
downloadscummvm-rg350-742a226312a8d4f31705a65bdd3c960ae007e8b3.tar.gz
scummvm-rg350-742a226312a8d4f31705a65bdd3c960ae007e8b3.tar.bz2
scummvm-rg350-742a226312a8d4f31705a65bdd3c960ae007e8b3.zip
SCI: Fixed bug #3035057 - "ECOQUEST demo: Crashing menu". EcoQuest 1 demo is using an in between SCI1-SCI1.1 interpreter. It's SCI1.1, but it calls kNewWindow with the SCI1 semantics.
svn-id: r51354
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 174a337c42..b13a458402 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -202,6 +202,12 @@ const SciWorkaroundEntry kMemory_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
+const SciWorkaroundEntry kNewWindow_workarounds[] = {
+ { GID_ECOQUEST, -1, 981, 0, "SysWindow", "<noname 178>", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // EcoQuest 1 demo uses an in-between interpreter from SCI1 to SCI1.1. It's SCI1.1, but uses the SCI1 semantics for this call.
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry kPaletteUnsetFlag_workarounds[] = {
{ GID_QFG4, 100, 100, 0, "doMovie", "<noname 144>", -1, 0, { WORKAROUND_IGNORE, 0 } }, // after the Sierra logo, no flags are passed, thus the call is meaningless
SCI_WORKAROUNDENTRY_TERMINATOR