aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2018-10-23 02:03:14 +0300
committerFilippos Karapetis2018-10-23 02:03:14 +0300
commite87d3c0e82be6c8c956aa549d39a31b231916c93 (patch)
tree5aef894b8326eee50a87d61dcee0f243b33b1cda /engines
parent3a8936ea5ca3fb2bc44d1179c883c1030a2bff39 (diff)
downloadscummvm-rg350-e87d3c0e82be6c8c956aa549d39a31b231916c93.tar.gz
scummvm-rg350-e87d3c0e82be6c8c956aa549d39a31b231916c93.tar.bz2
scummvm-rg350-e87d3c0e82be6c8c956aa549d39a31b231916c93.zip
SCI32: Disable the Poker game in Hoyle 5
This game uses an external DLL, PENGIN16.DLL, which is invoked via kWinDLL. We need to reverse the logic in PENGIN16.DLL and call it directly, in order to get this game to work properly. Until then, this game entry will be disabled.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/script_patches.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/script_patches.cpp b/engines/sci/engine/script_patches.cpp
index 6244ef95ba..7b46101c27 100644
--- a/engines/sci/engine/script_patches.cpp
+++ b/engines/sci/engine/script_patches.cpp
@@ -1081,6 +1081,10 @@ static const SciScriptPatcherEntry hoyle5Signatures[] = {
{ true, 500, "remove kGetTime spin", 1, hoyle5SignatureSpinLoop, hoyle5PatchSpinLoop },
{ true, 64937, "remove kGetTime spin", 1, hoyle5SignatureSpinLoop, hoyle5PatchSpinLoop },
{ true, 64908, "disable video benchmarking", 1, sci2BenchmarkSignature, sci2BenchmarkPatch },
+ // This entry has been placed so that the broken Poker game is disabled. This game uses an external DLL, PENGIN16.DLL,
+ // which is invoked via kWinDLL. We need to reverse the logic in PENGIN16.DLL and call it directly, in order to get this
+ // game to work properly. Until then, this game entry will be disabled.
+ { true, 975, "disable Poker", 1, hoyle5SignaturePoker, hoyle5PatchDisableGame },
SCI_SIGNATUREENTRY_TERMINATOR
};