diff options
author | Filippos Karapetis | 2010-11-16 22:36:06 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-16 22:36:06 +0000 |
commit | f81b42dcafba4ddbffd12cc8b66f9b47c42f2314 (patch) | |
tree | d3082796bbe0c32043d3ec64acc44d16616ccdc0 /engines | |
parent | 144ed3e22ddebc9afaf36ff8da225f856a07b2e7 (diff) | |
download | scummvm-rg350-f81b42dcafba4ddbffd12cc8b66f9b47c42f2314.tar.gz scummvm-rg350-f81b42dcafba4ddbffd12cc8b66f9b47c42f2314.tar.bz2 scummvm-rg350-f81b42dcafba4ddbffd12cc8b66f9b47c42f2314.zip |
SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"
svn-id: r54272
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/script_patches.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp index 7654290a5c..86d9effcbe 100644 --- a/engines/sci/engine/script_patches.cpp +++ b/engines/sci/engine/script_patches.cpp @@ -729,6 +729,17 @@ const byte sq4FloppySignatureEndlessFlight[] = { 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 @@ const uint16 sq4FloppyPatchEndlessFlight[] = { // 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 }; |