aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorsluicebox2019-10-20 19:47:21 -0700
committersluicebox2019-10-20 19:47:21 -0700
commit2ee46abfa89ba8cfab344e8a892f8582b65d538e (patch)
treee52d1afbdbfab4d1547ee5cbc5c5487996c51a8f /engines/sci/engine
parent4e20bc5bbedac8f55bd93877dae1ce6bd27fd50b (diff)
downloadscummvm-rg350-2ee46abfa89ba8cfab344e8a892f8582b65d538e.tar.gz
scummvm-rg350-2ee46abfa89ba8cfab344e8a892f8582b65d538e.tar.bz2
scummvm-rg350-2ee46abfa89ba8cfab344e8a892f8582b65d538e.zip
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
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/workarounds.cpp2
1 files changed, 1 insertions, 1 deletions
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