diff options
author | Martin Kiewitz | 2015-04-19 11:50:01 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-04-19 11:50:01 +0200 |
commit | bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985 (patch) | |
tree | 2d0a4bcd4727b251814a80b765afc6160ab55d60 | |
parent | 4122cdc1305d293a700714ea13fce0eda6f6c5ee (diff) | |
download | scummvm-rg350-bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985.tar.gz scummvm-rg350-bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985.tar.bz2 scummvm-rg350-bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985.zip |
SCI: workaround sig eco quest 2 update
sig also works on french version + sig extended
-rw-r--r-- | engines/sci/engine/workarounds.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index 2fc05ab76b..cafca0a2db 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -41,8 +41,8 @@ namespace Sci { // Game: Eco Quest 2 // Calling method: Rain::points -// Subroutine offset: English 0x0cc6, Spanish 0x0ce0 (script 0) -// Applies to at least: English PC floppy, Spanish PC floppy +// Subroutine offset: English 0x0cc6, French/Spanish 0x0ce0 (script 0) +// Applies to at least: English/French/Spanish PC floppy static const uint16 sig_arithmetic_ecoq2_1[] = { 0x8f, 0x01, // lsp param[1] 0x35, 0x10, // ldi 10h @@ -50,6 +50,11 @@ static const uint16 sig_arithmetic_ecoq2_1[] = { 0x99, 0x6e, // lsgi global[6Eh] 0x38, SIG_UINT16(0x8000), // pushi 8000h 0x8f, 0x01, // lsp param[1] + 0x35, 0x10, // ldi 10h + 0x0a, // mod + 0x0c, // shr + 0x14, // or + 0x36, // push SIG_END }; |