aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-01 05:33:51 +0000
committerFilippos Karapetis2010-07-01 05:33:51 +0000
commitb0b4f34d276b3451d6d46ac29cab6f5166cea757 (patch)
tree4142ef2c27b7def6e23d084dfd2289deec5317fa /engines/sci/engine/vm.cpp
parent31df21be75532e44c7b616eaecc4300b07dfec0e (diff)
downloadscummvm-rg350-b0b4f34d276b3451d6d46ac29cab6f5166cea757.tar.gz
scummvm-rg350-b0b4f34d276b3451d6d46ac29cab6f5166cea757.tar.bz2
scummvm-rg350-b0b4f34d276b3451d6d46ac29cab6f5166cea757.zip
Added a workaround for an uninitialized temp read in KQ6 floppy, when opening the controls window - from bug report #3023602
svn-id: r50541
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r--engines/sci/engine/vm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 87ff985461..e7e16e5a35 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -351,6 +351,7 @@ static const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_ISLANDBRAIN, 268, 0, "anElement", "select", -1, 0, { 0, 0 } }, // elements puzzle, gets used before super TextIcon
{ GID_KQ5, 0, 0, "", "export 29", -1, 3, { 0, 0 } }, // called when playing harp for the harpies, is used for kDoAudio
{ GID_KQ5, 25, 0, "rm025", "doit", -1, 0, { 0, 0 } }, // inside witch forest, where the walking rock is
+ { GID_KQ6, 903, 0, "controlWin", "open", -1, 4, { 0, 0 } }, // when opening the controls window (save, load etc)
{ GID_SQ1, 703, 0, "", "export 1", -1, 0, { 0, 0 } }, // sub that's called from several objects while on sarien battle cruiser
{ GID_SQ1, 703, 0, "firePulsar", "changeState", 0x18a, 0, { 0, 0 } }, // export 1, but called locally (when shooting at aliens)
{ GID_SQ4, 928, 0, "Narrator", "startText", -1, 1000, { 0, 1 } }, // sq4cd: method returns this to the caller