aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-12 14:01:28 +0000
committerMartin Kiewitz2010-08-12 14:01:28 +0000
commitbb932595d844c86cd3d775d316c2285ef73f0df8 (patch)
treef8ebaf71546ceeaf43ab04472124f587134453d2 /engines/sci/engine
parente5a8c8c544ad0773f3456d3d1e3ace1924be1c2f (diff)
downloadscummvm-rg350-bb932595d844c86cd3d775d316c2285ef73f0df8.tar.gz
scummvm-rg350-bb932595d844c86cd3d775d316c2285ef73f0df8.tar.bz2
scummvm-rg350-bb932595d844c86cd3d775d316c2285ef73f0df8.zip
SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless svn-id: r52040
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/script_patches.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 1f6ac3c9d0..3ec5e7331e 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -364,9 +364,9 @@ const SciScriptSignature larry6Signatures[] = {
// ===========================================================================
// rm560::doit was supposed to close the painting, when heimlich enters the
// room. The code is buggy, so it actually closes the painting, when heimlich
-// is not in the room. We fix that. (only happens in laura bow 2 cd)
+// is not in the room. We fix that.
const byte laurabow2SignaturePaintingClosing[] = {
- 19,
+ 17,
0x4a, 0x04, // send 04 (gets aHeimlich::room)
0x36, // push
0x81, 0x0b, // lag global[11d] -> current room
@@ -376,7 +376,7 @@ const byte laurabow2SignaturePaintingClosing[] = {
0xa3, 0x00, // sal local[0]
0x38, 0x92, 0x00, // pushi 0092
0x78, // push1
- 0x72, 0xee, 0x0a, // lofsa sDumpSafe
+ 0x72, // lofsa sDumpSafe
0
};
@@ -388,7 +388,7 @@ const uint16 laurabow2PatchPaintingClosing[] = {
// script, description, magic DWORD, adjust
const SciScriptSignature laurabow2Signatures[] = {
- { 560, "CD: painting closing immediately", PATCH_MAGICDWORD(0x36, 0x81, 0x0b, 0x1c), -2, laurabow2SignaturePaintingClosing, laurabow2PatchPaintingClosing },
+ { 560, "painting closing immediately", PATCH_MAGICDWORD(0x36, 0x81, 0x0b, 0x1c), -2, laurabow2SignaturePaintingClosing, laurabow2PatchPaintingClosing },
{ 0, NULL, 0, 0, NULL, NULL }
};