aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-12 23:33:30 +0000
committerFilippos Karapetis2011-01-12 23:33:30 +0000
commitc215d85c33b1a983e0cbf860373fbd1b5f2d6000 (patch)
tree41b1a8ddc92cf74386362a75ea3a1d172c16e09e /engines/sci/engine/workarounds.cpp
parentd8682a74a5a876a14426301db494e23b47716a0f (diff)
downloadscummvm-rg350-c215d85c33b1a983e0cbf860373fbd1b5f2d6000.tar.gz
scummvm-rg350-c215d85c33b1a983e0cbf860373fbd1b5f2d6000.tar.bz2
scummvm-rg350-c215d85c33b1a983e0cbf860373fbd1b5f2d6000.zip
SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape"
svn-id: r55217
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 54c47ad8e9..478b487027 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -382,6 +382,12 @@ const SciWorkaroundEntry kMemory_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
+const SciWorkaroundEntry kMoveCursor_workarounds[] = {
+ { GID_KQ5, -1, 937, 0, "IconBar", "handleEvent", -1, 0, { WORKAROUND_IGNORE, 0 } }, // when pressing escape to open the menu, gets called with one parameter instead of 2 - bug #3156472
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry kNewWindow_workarounds[] = {
{ GID_ECOQUEST, -1, 981, 0, "SysWindow", "open", -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 - bug #3035057
SCI_WORKAROUNDENTRY_TERMINATOR