aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2017-12-19 23:48:14 -0600
committerColin Snover2017-12-19 23:49:07 -0600
commitf4bc714677fd778015053fac532c4dc2a9dfccd7 (patch)
tree91dca369e569cef1d29a408cd16b6443aca23dc3 /engines/sci
parentfe9968a074ac728610ea3955fd9c183b2e3e3529 (diff)
downloadscummvm-rg350-f4bc714677fd778015053fac532c4dc2a9dfccd7.tar.gz
scummvm-rg350-f4bc714677fd778015053fac532c4dc2a9dfccd7.tar.bz2
scummvm-rg350-f4bc714677fd778015053fac532c4dc2a9dfccd7.zip
SCI32: Add uninitialized read workaround for LSL6hires
Fixes Trac#10361.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/workarounds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index ecdf0cb695..b60aaa5c23 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -369,6 +369,7 @@ const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_LSL6, -1, 928, -1, "Narrator", "startText", NULL, 0, 0, { WORKAROUND_FAKE, 0 } }, // used by various objects that are even translated in foreign versions, that's why we use the base-class
{ GID_LSL6HIRES, -1, 85, 0, "LL6Inv", "init", NULL, 0, 0, { WORKAROUND_FAKE, 0 } }, // when creating a new game
{ GID_LSL6HIRES, -1, 85, 0, "washcloth", "doVerb", NULL, 0, 0, { WORKAROUND_FAKE, 0 } }, // when interacting with the wet washcloth in the inventory - Trac#9811
+ { GID_LSL6HIRES, 820, 82, 0, "", "export 0", NULL, 3, 3, { WORKAROUND_FAKE, 0 } }, // when touching the electric fence - bug #10361
{ GID_LSL6HIRES, -1, 64950, 1, "Feature", "handleEvent", NULL, 0, 0, { WORKAROUND_FAKE, 0 } }, // at least when entering swimming pool area
{ GID_LSL6HIRES, -1, 64964, 0, "DPath", "init", NULL, 1, 1, { WORKAROUND_FAKE, 0 } }, // during the game
{ GID_LSL7, -1, 64029, 0, "oMessager", "nextMsg", NULL, 4, 4, { WORKAROUND_FAKE, 0 } }, // when running the game with subtitles only