[Scummvm-cvs-logs] SF.net SVN: scummvm:[54273] scummvm/branches/branch-1-2-0/engines/sci/ engine/script_patches.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Nov 17 00:02:22 CET 2010
Revision: 54273
http://scummvm.svn.sourceforge.net/scummvm/?rev=54273&view=rev
Author: thebluegr
Date: 2010-11-16 23:02:21 +0000 (Tue, 16 Nov 2010)
Log Message:
-----------
SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros" (backport)
Modified Paths:
--------------
scummvm/branches/branch-1-2-0/engines/sci/engine/script_patches.cpp
Modified: scummvm/branches/branch-1-2-0/engines/sci/engine/script_patches.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/sci/engine/script_patches.cpp 2010-11-16 22:36:06 UTC (rev 54272)
+++ scummvm/branches/branch-1-2-0/engines/sci/engine/script_patches.cpp 2010-11-16 23:02:21 UTC (rev 54273)
@@ -721,6 +721,17 @@
0
};
+// Similar to the above, for the German version (ffs. bug #3110215)
+const byte sq4FloppySignatureEndlessFlightGerman[] = {
+ 8,
+ 0x39, 0x04, // pushi 04 (selector x)
+ 0x78, // push1
+ 0x67, 0x08, // pTos 08 (property x)
+ 0x63, 0x4c, // pToa 4c (invalid property)
+ 0x02, // add
+ 0
+};
+
const uint16 sq4FloppyPatchEndlessFlight[] = {
PATCH_ADDTOOFFSET | +5,
0x35, 0x03, // ldi 03 (which would be the content of the property)
@@ -729,8 +740,9 @@
// script, description, magic DWORD, adjust
const SciScriptSignature sq4Signatures[] = {
- { 298, "Floppy: endless flight", 1, PATCH_MAGICDWORD(0x67, 0x08, 0x63, 0x44), -3, sq4FloppySignatureEndlessFlight, sq4FloppyPatchEndlessFlight },
- SCI_SIGNATUREENTRY_TERMINATOR
+ { 298, "Floppy: endless flight", 1, PATCH_MAGICDWORD(0x67, 0x08, 0x63, 0x44), -3, sq4FloppySignatureEndlessFlight, sq4FloppyPatchEndlessFlight },
+ { 298, "Floppy (German): endless flight", 1, PATCH_MAGICDWORD(0x67, 0x08, 0x63, 0x4c), -3, sq4FloppySignatureEndlessFlightGerman, sq4FloppyPatchEndlessFlight },
+ SCI_SIGNATUREENTRY_TERMINATOR
};
// ===========================================================================
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