mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +00:00
SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless svn-id: r52040
This commit is contained in:
parent
e5a8c8c544
commit
bb932595d8
@ -364,9 +364,9 @@ const SciScriptSignature larry6Signatures[] = {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
// rm560::doit was supposed to close the painting, when heimlich enters the
|
// 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
|
// 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[] = {
|
const byte laurabow2SignaturePaintingClosing[] = {
|
||||||
19,
|
17,
|
||||||
0x4a, 0x04, // send 04 (gets aHeimlich::room)
|
0x4a, 0x04, // send 04 (gets aHeimlich::room)
|
||||||
0x36, // push
|
0x36, // push
|
||||||
0x81, 0x0b, // lag global[11d] -> current room
|
0x81, 0x0b, // lag global[11d] -> current room
|
||||||
@ -376,7 +376,7 @@ const byte laurabow2SignaturePaintingClosing[] = {
|
|||||||
0xa3, 0x00, // sal local[0]
|
0xa3, 0x00, // sal local[0]
|
||||||
0x38, 0x92, 0x00, // pushi 0092
|
0x38, 0x92, 0x00, // pushi 0092
|
||||||
0x78, // push1
|
0x78, // push1
|
||||||
0x72, 0xee, 0x0a, // lofsa sDumpSafe
|
0x72, // lofsa sDumpSafe
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -388,7 +388,7 @@ const uint16 laurabow2PatchPaintingClosing[] = {
|
|||||||
|
|
||||||
// script, description, magic DWORD, adjust
|
// script, description, magic DWORD, adjust
|
||||||
const SciScriptSignature laurabow2Signatures[] = {
|
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 }
|
{ 0, NULL, 0, 0, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user