diff options
author | Martin Kiewitz | 2010-07-17 21:13:37 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-17 21:13:37 +0000 |
commit | 88dfa3142f46f1f346614dd9ca298be98023750c (patch) | |
tree | d2e70f15cec72cc39f382e7c5710fef692293ef8 | |
parent | 880bb9f421811b7c8ff170bc0332201d07b0ee65 (diff) | |
download | scummvm-rg350-88dfa3142f46f1f346614dd9ca298be98023750c.tar.gz scummvm-rg350-88dfa3142f46f1f346614dd9ca298be98023750c.tar.bz2 scummvm-rg350-88dfa3142f46f1f346614dd9ca298be98023750c.zip |
SCI: adding uninitialized workaround for gk1
svn-id: r50969
-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 c01f701f75..e066170715 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -364,6 +364,7 @@ static reg_t arithmetic_lookForWorkaround(const byte opcode, const SciWorkaround static const SciWorkaroundEntry uninitializedReadWorkarounds[] = { { GID_FREDDYPHARKAS, 24, 0, "gcWin", "open", -1, 5, { 0, 0xf } }, // is used as priority for game menu { GID_FREDDYPHARKAS, 31, 0, "quitWin", "open", -1, 5, { 0, 0xf } }, // is used as priority for game menu + { GID_GK1, 64950, 1, "Feature", "handleEvent", -1, 0, { 0, 0 } }, // sometimes when walk-clicking { GID_GK2, 11, 0, "", "export 10", -1, 3, { 0, 0 } }, // called when the game starts { GID_ISLANDBRAIN, 140, 0, "piece", "init", -1, 3, { 0, 1 } }, // first puzzle right at the start, some initialization variable. bnt is done on it, and it should be non-0 { GID_ISLANDBRAIN, 268, 0, "anElement", "select", -1, 0, { 0, 0 } }, // elements puzzle, gets used before super TextIcon |