aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2011-08-25 03:06:20 +0300
committerFilippos Karapetis2011-08-25 03:06:20 +0300
commit0382e990ec5b2f00860901f443f8ddcf22f68ed0 (patch)
treec72d68467537ae160a253ba1202acb27f26c58d4 /engines/sci/engine
parent996deff15b347f05f95b2a6b9d0e382d25d0db3e (diff)
downloadscummvm-rg350-0382e990ec5b2f00860901f443f8ddcf22f68ed0.tar.gz
scummvm-rg350-0382e990ec5b2f00860901f443f8ddcf22f68ed0.tar.bz2
scummvm-rg350-0382e990ec5b2f00860901f443f8ddcf22f68ed0.zip
SCI: Fixed QFG3 bug #3377429, by removing the problematic script patch
for script 23 (bug #3040722). This script patch messes up the conversation with Manu the monkey later on in the game, thus it's not correct.
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script_patches.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index a714980a35..7efcb42f4b 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -855,26 +855,8 @@ const uint16 qfg3PatchImportDialog[] = {
PATCH_END
};
-// Script 23 in QFG3 has a typo/bug which makes it loop endlessly and
-// read garbage. Fixes bug #3040722.
-const byte qfg3DialogCrash[] = {
- 5,
- 0x34, 0xe7, 0x03, // ldi 3e7 (999)
- 0x22, // lt?
- 0x33, // jmp [back] ---> BUG! Infinite loop
- 0
-};
-
-const uint16 qfg3PatchDialogCrash[] = {
- 0x34, 0xe7, 0x03, // ldi 3e7 (999)
- 0x22, // lt?
- 0x31, // bnt [back]
- PATCH_END
-};
-
// script, description, magic DWORD, adjust
const SciScriptSignature qfg3Signatures[] = {
- { 23, "dialog crash", 1, PATCH_MAGICDWORD(0xe7, 0x03, 0x22, 0x33), -1, qfg3DialogCrash, qfg3PatchDialogCrash },
{ 944, "import dialog continuous calls", 1, PATCH_MAGICDWORD(0x2a, 0x31, 0x0b, 0x7a), -1, qfg3SignatureImportDialog, qfg3PatchImportDialog },
SCI_SIGNATUREENTRY_TERMINATOR
};