[Scummvm-cvs-logs] SF.net SVN: scummvm:[44466] scummvm/trunk/engines/sci/engine/selector.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Sep 29 17:51:46 CEST 2009
Revision: 44466
http://scummvm.svn.sourceforge.net/scummvm/?rev=44466&view=rev
Author: thebluegr
Date: 2009-09-29 15:51:45 +0000 (Tue, 29 Sep 2009)
Log Message:
-----------
Added a FIXME comment for the removed functionality in the script debugger
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/selector.cpp
Modified: scummvm/trunk/engines/sci/engine/selector.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/selector.cpp 2009-09-29 14:38:44 UTC (rev 44465)
+++ scummvm/trunk/engines/sci/engine/selector.cpp 2009-09-29 15:51:45 UTC (rev 44466)
@@ -88,6 +88,9 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list