diff options
author | Martin Kiewitz | 2010-06-28 10:15:13 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-28 10:15:13 +0000 |
commit | 10a9dfc0d7a521d7f9815fd21edc5e7b82d8344c (patch) | |
tree | 43eafee22357f6829d0df1ab34d8621c660f75f1 /engines | |
parent | 92cc16e6a5f3b096868a8fa45b923de38d678e5d (diff) | |
download | scummvm-rg350-10a9dfc0d7a521d7f9815fd21edc5e7b82d8344c.tar.gz scummvm-rg350-10a9dfc0d7a521d7f9815fd21edc5e7b82d8344c.tar.bz2 scummvm-rg350-10a9dfc0d7a521d7f9815fd21edc5e7b82d8344c.zip |
SCI: added uninit workaround for lsl3 - when accessing set volume menu the first time sound got muted before (because a uninitialized temp was used to do it, would have been 's' in sierra sci)
svn-id: r50416
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/vm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 35f9baef7b..d247ce1cfb 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -279,6 +279,7 @@ static const UninitializedReadWorkaround uninitializedReadWorkarounds[] = { { GID_FREDDYPHARKAS, 24, "gcWin", "open", -1, 5, 0xf }, // is used as priority for game menu { GID_FREDDYPHARKAS, 31, "quitWin", "open", -1, 5, 0xf }, // is used as priority for game menu { GID_LSL1, 720, "rm720", "init", -1, 0, 0 }, // age check room + { GID_LSL3, 997, "TheMenuBar", "handleEvent", -1, 1, 0xf }, // when setting volume the first time, this temp is used to set volume on entry (normally it would have been initialized to 's') { GID_LSL6, 928, "Narrator", "startText", -1, 0, 0 }, // used by various objects that are even translated in foreign versions, that's why we use the base-class { GID_ISLANDBRAIN, 140, "piece", "init", -1, 3, 1 }, // first puzzle right at the start, some initialization variable. bnt is done on it, and it should be non-0 { GID_ISLANDBRAIN, 268, "anElement", "select", -1, 0, 0 }, // elements puzzle, gets used before super TextIcon |