aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-24 12:32:41 +0000
committerMartin Kiewitz2010-06-24 12:32:41 +0000
commit898c9165d9a7f110b674a8bee82d30090a6010bc (patch)
treeead044912a7c6d5d4768a328adfd53dde4749c54 /engines
parente5f22da0510065f1d38cfe745c49873f07de6904 (diff)
downloadscummvm-rg350-898c9165d9a7f110b674a8bee82d30090a6010bc.tar.gz
scummvm-rg350-898c9165d9a7f110b674a8bee82d30090a6010bc.tar.bz2
scummvm-rg350-898c9165d9a7f110b674a8bee82d30090a6010bc.zip
SCI: added currently known object/methodnames in comments for uninitialized reads
svn-id: r50213
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/vm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 6af5783e3b..4204131ad3 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -210,10 +210,11 @@ static reg_t validate_read_var(reg_t *r, reg_t *stack_base, int type, int max, i
Common::String gameId = g_sci->getGameId();
if ((gameId == "laurabow2") && (currentScriptNr == 24) && (index == 5))
- return make_reg(0, 0xf); // priority replacement for menu
+ return make_reg(0, 0xf); // priority replacement for menu - gcWin::open
if ((gameId == "freddypharkas") && (currentScriptNr == 24) && (index == 5))
- return make_reg(0, 0xf); // priority replacement for menu
+ return make_reg(0, 0xf); // priority replacement for menu - gcWin::open
if ((gameId == "islandbrain") && (currentScriptNr == 140) && (index == 3)) {
+ // piece::init
//r[index] = make_reg(0, 255);
//return r[index];
}