[Scummvm-cvs-logs] SF.net SVN: scummvm:[52040] scummvm/trunk/engines/sci/engine/script_patches .cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Thu Aug 12 16:01:28 CEST 2010
Revision: 52040
http://scummvm.svn.sourceforge.net/scummvm/?rev=52040&view=rev
Author: m_kiewitz
Date: 2010-08-12 14:01:28 +0000 (Thu, 12 Aug 2010)
Log Message:
-----------
SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/script_patches.cpp
Modified: scummvm/trunk/engines/sci/engine/script_patches.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/script_patches.cpp 2010-08-12 13:52:03 UTC (rev 52039)
+++ scummvm/trunk/engines/sci/engine/script_patches.cpp 2010-08-12 14:01:28 UTC (rev 52040)
@@ -364,9 +364,9 @@
// ===========================================================================
// 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 @@
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 @@
// 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 }
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list