diff options
author | sluicebox | 2018-10-22 12:23:14 -0700 |
---|---|---|
committer | Filippos Karapetis | 2018-10-23 00:12:03 +0300 |
commit | 209c62201028ffa546d1ac4b269bcf7fb6514b0b (patch) | |
tree | 8a817b8cfa7f3cb86c4f7cb835c516803ace1d79 /engines/sci/engine | |
parent | 27eb9453bb25316dcfe881d9ee0baed99ed08e52 (diff) | |
download | scummvm-rg350-209c62201028ffa546d1ac4b269bcf7fb6514b0b.tar.gz scummvm-rg350-209c62201028ffa546d1ac4b269bcf7fb6514b0b.tar.bz2 scummvm-rg350-209c62201028ffa546d1ac4b269bcf7fb6514b0b.zip |
SCI: GK1 workaround for iconbar uninit param read
Uninitialized param1 read when showing iconbar with inventory item
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/workarounds.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |