[Scummvm-git-logs] scummvm master -> 83436e685fe5c0fd05fa49c8e85386a1115dee58

m-kiewitz m_kiewitz at users.sourceforge.net
Sat Oct 7 19:06:17 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
83436e685f SCI: Improve Larry 1 Spanish script patch


Commit: 83436e685fe5c0fd05fa49c8e85386a1115dee58
    https://github.com/scummvm/scummvm/commit/83436e685fe5c0fd05fa49c8e85386a1115dee58
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2017-10-07T19:06:16+02:00

Commit Message:
SCI: Improve Larry 1 Spanish script patch

So that it also works even when the patch files are missing.

Changed paths:
    engines/sci/engine/script_patches.cpp


diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 1f6a2d0..f7dc620 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -2520,7 +2520,7 @@ static const uint16 larry1SignatureBuyApple[] = {
 	0x36,                            // push
 	0x38, SIG_UINT16(0x0126),        // pushi setAvoider
 	0x78,                            // push1
-	0x51, 0x6d,                      // class PAvoider
+	0x51, SIG_ADDTOOFFSET(+1),       // class PAvoider (original 0x25, w/ patch file 0x6d)
 	0x36,                            // push
 	0x38, SIG_UINT16(0x0116),        // pushi setMotion
 	SIG_MAGICDWORD,





More information about the Scummvm-git-logs mailing list