From 2ee46abfa89ba8cfab344e8a892f8582b65d538e Mon Sep 17 00:00:00 2001 From: sluicebox Date: Sun, 20 Oct 2019 19:47:21 -0700 Subject: SCI32: Fix GK1 icon bar workaround Fixes an uninitialized parameter workaround, trac #11215 This caused the icon bar to error when in "icon up" mode --- engines/sci/engine/workarounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index ea1d553eeb..15519fb3a2 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -332,7 +332,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_GK1, -1, 12, -1, "GKIconbar", "showInvItem", NULL, 1, 1,{ WORKAROUND_FAKE, 1 } }, // 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