aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-07-24 00:08:36 -0500
committerColin Snover2017-07-24 19:36:35 -0500
commitbfa6ad51558498106d856cec4dfa1c2ec60a7a04 (patch)
tree6bcf31911f175492ce1ebce0889eb0857acf951a
parent40e9963baa18754fd579a1183518b2a161d00cb3 (diff)
downloadscummvm-rg350-bfa6ad51558498106d856cec4dfa1c2ec60a7a04.tar.gz
scummvm-rg350-bfa6ad51558498106d856cec4dfa1c2ec60a7a04.tar.bz2
scummvm-rg350-bfa6ad51558498106d856cec4dfa1c2ec60a7a04.zip
SCI32: Use dynamic selector in QFG4 trap script patch
-rw-r--r--engines/sci/engine/script_patches.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index f5e65669b3..48ddf9706b 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -4971,12 +4971,12 @@ static const SciScriptPatcherEntry qfg3Signatures[] = {
// The trap init code incorrectly creates an int array for string data.
// Applies to at least: English CD
static const uint16 qfg4SignatureTrapArrayType[] = {
- 0x38, SIG_UINT16(0x92), // pushi $92 (new)
- 0x78, // push1
- 0x38, SIG_UINT16(0x80), // pushi $80 (128)
+ 0x38, SIG_SELECTOR16(new), // pushi new
+ 0x78, // push1
+ 0x38, SIG_UINT16(0x80), // pushi $80 (128)
SIG_MAGICDWORD,
- 0x51, 0x0b, // class $b (IntArray)
- 0x4a, SIG_UINT16(0x06), // send 6
+ 0x51, 0x0b, // class $b (IntArray)
+ 0x4a, SIG_UINT16(0x06), // send 6
SIG_END
};