diff options
author | Martin Kiewitz | 2010-06-24 13:20:21 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-24 13:20:21 +0000 |
commit | 3fcb833148528e7f1e8b5e54668cb9bd99c17afb (patch) | |
tree | 563295ff28460e4b2957290cbe6f10c6d5374eb9 /engines | |
parent | e45ffc68a32a13e81e7d12d3f43750f91e71cf91 (diff) | |
download | scummvm-rg350-3fcb833148528e7f1e8b5e54668cb9bd99c17afb.tar.gz scummvm-rg350-3fcb833148528e7f1e8b5e54668cb9bd99c17afb.tar.bz2 scummvm-rg350-3fcb833148528e7f1e8b5e54668cb9bd99c17afb.zip |
SCI: fixed workaround table from r50214 to have a valid terminator, also added another fix for pharkas
svn-id: r50215
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/vm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 0e0b8308dc..6e59c89e9d 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -186,8 +186,9 @@ static bool validate_variable(reg_t *r, reg_t *stack_base, int type, int max, in static const UninitializedReadWorkaround uninitializedReadWorkarounds[] = { { "laurabow2", 24, "gcWin", "open", 5, 0xf }, // is used as priority for game menu { "freddypharkas", 24, "gcWin", "open", 5, 0xf }, // is used as priority for game menu + { "freddypharkas", 31, "quitWin", "open", 5, 0xf }, // is used as priority for game menu { "islandbrain", 140, "piece", "init", 3, 0 }, // currently unknown, new value is not right - { "", -1, "", "", 0, 0 } + { NULL, -1, NULL, NULL, 0, 0 } }; static reg_t validate_read_var(reg_t *r, reg_t *stack_base, int type, int max, int index, int line, reg_t default_value) { |