aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorsluicebox2019-09-06 15:09:04 -0700
committersluicebox2019-09-06 15:09:04 -0700
commit46a4cdc9939d3062ba11f248a435c4800ef79ef4 (patch)
tree1ed2c4f790db8c6e67e472a13b622847f606efac /engines/sci
parent82c47d75cd524fa5a02cd1aed063fc1566e815c2 (diff)
downloadscummvm-rg350-46a4cdc9939d3062ba11f248a435c4800ef79ef4.tar.gz
scummvm-rg350-46a4cdc9939d3062ba11f248a435c4800ef79ef4.tar.bz2
scummvm-rg350-46a4cdc9939d3062ba11f248a435c4800ef79ef4.zip
SCI: Fix KQ6 Drink Me script patch on Mac
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/script_patches.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 03b7f3ac06..0a34536e6e 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -3562,9 +3562,9 @@ static const uint16 kq6SignatureDrinkMeFix[] = {
};
static const uint16 kq6PatchDrinkMeFix[] = {
- PATCH_ADDTOOFFSET(+5), // skip to bnt offset
- PATCH_GETORIGINALBYTEADJUST(+5, +13), // [check for 11h code] (adjust bnt offset)
- PATCH_ADDTOOFFSET(+162),
+ PATCH_ADDTOOFFSET(+4),
+ 0x30, PATCH_UINT16(0x00b1), // bnt 00b1 [ check for 11h code ]
+ PATCH_ADDTOOFFSET(+161),
0x39, PATCH_SELECTOR8(doit), // pushi doit
0x76, // push0
0x81, 0x0a, // lag global[0a]