From 209c62201028ffa546d1ac4b269bcf7fb6514b0b Mon Sep 17 00:00:00 2001 From: sluicebox Date: Mon, 22 Oct 2018 12:23:14 -0700 Subject: SCI: GK1 workaround for iconbar uninit param read Uninitialized param1 read when showing iconbar with inventory item --- engines/sci/engine/workarounds.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci') diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index 05a6742ebc..af96b14e02 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -322,6 +322,7 @@ static const uint16 sig_uninitread_sq1_1[] = { // Workarounds for uninitialized reads for parameters // gameID, room,script,lvl, object-name, method-name, local-call-signature, index-range, workaround const SciWorkaroundEntry uninitializedReadForParamWorkarounds[] = { + { GID_GK1, -1, 12, -1, "GKIconbar", "showInvItem", NULL, 1, 1,{ WORKAROUND_FAKE, 0 } }, // When showing the icon bar containing an inventory item { GID_HOYLE5, -1, 15, -1, "Hand", "add", NULL, 1, 1,{ WORKAROUND_FAKE, 0 } }, // When the game adds cards to your hand in any mini-game { GID_HOYLE5, 700, 730, 0, NULL, "runningSuit", NULL, 2, 2,{ WORKAROUND_FAKE, 0 } }, // when an opponent is playing in Bridge { GID_HOYLE5, 1100, 22, -1, "HandPile", "show", NULL, 1, 1,{ WORKAROUND_FAKE, 0 } }, // when showing money piles in Poker -- cgit v1.2.3