[Scummvm-cvs-logs] scummvm master -> bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985

m-kiewitz m_kiewitz at users.sourceforge.net
Sun Apr 19 11:50:28 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
bbf9c83ebf SCI: workaround sig eco quest 2 update


Commit: bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985
    https://github.com/scummvm/scummvm/commit/bbf9c83ebf8ab6f27519a0d1cb4d4c747a16e985
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-04-19T11:50:01+02:00

Commit Message:
SCI: workaround sig eco quest 2 update

sig also works on french version + sig extended

Changed paths:
    engines/sci/engine/workarounds.cpp



diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 2fc05ab..cafca0a 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
 };
 






More information about the Scummvm-git-logs mailing list