aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown2015-01-11 21:14:36 +0000
committerMichael Brown2015-01-11 21:14:36 +0000
commitd603fe32e4b94f6b5c9382eaf6725664b9d68a95 (patch)
treefdae85fdb689829bd6cc0299fb345b427cec878c
parentd1292c8e593c0ea348491dc1a1471bce13510d86 (diff)
downloadscummvm-rg350-d603fe32e4b94f6b5c9382eaf6725664b9d68a95.tar.gz
scummvm-rg350-d603fe32e4b94f6b5c9382eaf6725664b9d68a95.tar.bz2
scummvm-rg350-d603fe32e4b94f6b5c9382eaf6725664b9d68a95.zip
SCI: fix definition of GK1 police-sleep patch
-rw-r--r--engines/sci/engine/script_patches.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 03cd1d06e9..c2a0b8b95d 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -562,12 +562,12 @@ static const uint16 gk1SignatureDay6PoliceSleep[] = {
0x34, SIG_UINT16(0x00dc), // ldi 220
0x65, SIG_ADDTOOFFSET(+1), // aTop cycles (1a for PC, 1c for Mac)
0x32, // jmp [end]
- 0
+ SIG_END
};
static const uint16 gk1PatchDay6PoliceSleep[] = {
PATCH_ADDTOOFFSET(+5),
- 0x34, SIG_UINT16(0x002a), // ldi 42
+ 0x34, PATCH_UINT16(0x002a), // ldi 42
0x65, PATCH_GETORIGINALBYTEADJUST(+9, +2), // aTop seconds (1c for PC, 1e for Mac)
PATCH_END
};