aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-06-10 00:21:44 -0500
committerColin Snover2017-06-10 00:21:44 -0500
commit62fd5df8b4225980a77a44220b307eac3e7a2f24 (patch)
tree1d663a041bf968306e136bb0a1fb8da92ed40cc5
parent48baf5a4a5b3a23bd9bad02a3b48ee9ec9e924f1 (diff)
downloadscummvm-rg350-62fd5df8b4225980a77a44220b307eac3e7a2f24.tar.gz
scummvm-rg350-62fd5df8b4225980a77a44220b307eac3e7a2f24.tar.bz2
scummvm-rg350-62fd5df8b4225980a77a44220b307eac3e7a2f24.zip
SCI32: Fix uninitialized temp read in Torin
Fixes Trac#9810.
-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 b6f0ac8f72..1b3cd35f58 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -419,6 +419,7 @@ const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_SQ6, -1, 64994, -1, "Game", "restore", NULL, 1, { WORKAROUND_FAKE, 0 } }, // When trying to load an invalid save game from the launcher
{ GID_TORIN, -1, 64017, 0, "oFlags", "clear", NULL, 0, { WORKAROUND_FAKE, 0 } }, // entering Torin's home in the French version
{ GID_TORIN, 10000, 64029, 0, "oMessager", "nextMsg", NULL, 3, { WORKAROUND_FAKE, 0 } }, // start of chapter one
+ { GID_TORIN, -1, 64892, 0, "oEventHandler", "killAllEventHogs", NULL, 1, { WORKAROUND_FAKE, 0 } }, // when pressing the hint button when the game is about to transition to a new room (race condition) - Trac#9810
{ GID_TORIN, 20100, 64964, 0, "DPath", "init", NULL, 1, { WORKAROUND_FAKE, 0 } }, // going down the cliff at the first screen of chapter 2 (washing area)
{ GID_TORIN, 61100, 64888, 0, "Torin", "autorestore", NULL, 11, { WORKAROUND_FAKE, 0 } }, // after attempting to restore a save game saved with the wrong game version
SCI_WORKAROUNDENTRY_TERMINATOR