[Scummvm-cvs-logs] SF.net SVN: scummvm:[54272] scummvm/trunk/engines/sci/engine/script_patches .cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Nov 16 23:36:06 CET 2010


Revision: 54272
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54272&view=rev
Author:   thebluegr
Date:     2010-11-16 22:36:06 +0000 (Tue, 16 Nov 2010)

Log Message:
-----------
SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"

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-11-16 22:09:46 UTC (rev 54271)
+++ scummvm/trunk/engines/sci/engine/script_patches.cpp	2010-11-16 22:36:06 UTC (rev 54272)
@@ -729,6 +729,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)
@@ -737,7 +748,8 @@
 
 //    script, description,                                      magic DWORD,                                  adjust
 const SciScriptSignature sq4Signatures[] = {
-	{    298, "Floppy: endless flight",                      1, PATCH_MAGICDWORD(0x67, 0x08, 0x63, 0x44),    -3, sq4FloppySignatureEndlessFlight, sq4FloppyPatchEndlessFlight },
+	{    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