From 6f6b6993909326cbd5fe293cf2d3b35a93e56c91 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 29 Sep 2009 15:51:45 +0000 Subject: Added a FIXME comment for the removed functionality in the script debugger svn-id: r44466 --- engines/sci/engine/selector.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/sci/engine/selector.cpp') 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; -- cgit v1.2.3