From bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sun, 19 Apr 2015 11:50:01 +0200 Subject: SCI: workaround sig eco quest 2 update sig also works on french version + sig extended --- engines/sci/engine/workarounds.cpp | 9 +++++++-- 1 file 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 }; -- cgit v1.2.3