diff options
author | Martin Kiewitz | 2010-08-14 06:05:54 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-14 06:05:54 +0000 |
commit | 512bf22af689a9fec0f1dc3a637f6f2e084b06a7 (patch) | |
tree | 0095b8e2700224b698d13f885d59d02da10eb0aa /engines/sci/engine/workarounds.cpp | |
parent | f252c0b67ef74da5376fcf3a08d514fb311c4316 (diff) | |
download | scummvm-rg350-512bf22af689a9fec0f1dc3a637f6f2e084b06a7.tar.gz scummvm-rg350-512bf22af689a9fec0f1dc3a637f6f2e084b06a7.tar.bz2 scummvm-rg350-512bf22af689a9fec0f1dc3a637f6f2e084b06a7.zip |
SCI: adding workaround for camelot during ending
fixes bug #3044734
also fixing heap corruption during the ending
svn-id: r52077
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r-- | engines/sci/engine/workarounds.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index fe269df563..ca47472ded 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -59,6 +59,12 @@ const SciWorkaroundEntry opcodeLeWorkarounds[] = { }; // gameID, room,script,lvl, object-name, method-name, call,index, workaround +const SciWorkaroundEntry opcodeLaiWorkarounds[] = { + { GID_CAMELOT, 92, 92, 0, "endingCartoon2", "changeState", 0x20d, 0, { WORKAROUND_FAKE, 0 } }, // during the ending, sub gets called with no parameters, uses parameter 1 which is theGrail in this case - bug #3044734 + SCI_WORKAROUNDENTRY_TERMINATOR +}; + +// gameID, room,script,lvl, object-name, method-name, call,index, workaround const SciWorkaroundEntry opcodeLsiWorkarounds[] = { { GID_QFG2, 200, 200, 0, "astro", "messages", -1, 0, { WORKAROUND_FAKE, 0 } }, // when getting asked for your name by the astrologer bug #3039879 SCI_WORKAROUNDENTRY_TERMINATOR |