Skip to content
Permalink
Browse files

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
  • Loading branch information...
sluicebox committed Oct 21, 2019
1 parent 3558a70 commit e40c551353de0f756f420566f81731007a418574
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit e40c551

Please sign in to comment.
You can’t perform that action at this time.