diff options
author | Filippos Karapetis | 2009-09-29 15:51:45 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-29 15:51:45 +0000 |
commit | 6f6b6993909326cbd5fe293cf2d3b35a93e56c91 (patch) | |
tree | 731dd34a5476612a2704c2866370ac9b63d3a2cd | |
parent | 270104fc70dab11f3864bedbeaab0f410b2ec5fe (diff) | |
download | scummvm-rg350-6f6b6993909326cbd5fe293cf2d3b35a93e56c91.tar.gz scummvm-rg350-6f6b6993909326cbd5fe293cf2d3b35a93e56c91.tar.bz2 scummvm-rg350-6f6b6993909326cbd5fe293cf2d3b35a93e56c91.zip |
Added a FIXME comment for the removed functionality in the script debugger
svn-id: r44466
-rw-r--r-- | engines/sci/engine/selector.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/selector.cpp b/engines/sci/engine/selector.cpp index 8ab5582417..7711c756ab 100644 --- a/engines/sci/engine/selector.cpp +++ b/engines/sci/engine/selector.cpp @@ -88,6 +88,9 @@ int invoke_selector(EngineState *s, reg_t object, int selector_id, SelectorInvoc ExecStack *xstack; xstack = add_exec_stack_entry(s, NULL_REG, NULL, NULL_REG, k_argc, k_argp - 1, 0, NULL_REG, s->_executionStack.size()-1, SCI_XS_CALLEE_LOCALS); + // FIXME: With this hack, selector was set to -42 - kfunct, which has been changed, as we + // no longer pass the function number to each function (commit #44461). Therefore, this no + // longer works. A better alternative needs to be done to restore the previous functionality xstack->selector = -42 + 1; // Evil debugging hack to identify kernel function xstack->type = EXEC_STACK_TYPE_KERNEL; |