SCI: Remove hack related to compiled kernel signatures.
Also change some things to comply to our code formatting conventions. svn-id: r49967
This commit is contained in:
parent
cfcbdf8656
commit
78cd1aa145
3 changed files with 27 additions and 30 deletions
|
@ -590,7 +590,7 @@ static void callKernelFunc(EngineState *s, int kernelFuncNum, int argc) {
|
|||
xstack->selector = kernelFuncNum;
|
||||
xstack->type = EXEC_STACK_TYPE_KERNEL;
|
||||
|
||||
//warning("callk %s", kernelFunc.orig_name.c_str());
|
||||
//warning("callk %s", kernelFunc.origName.c_str());
|
||||
|
||||
// TODO: SCI2.1 equivalent
|
||||
if (s->loadFromLauncher >= 0 && (
|
||||
|
@ -614,13 +614,13 @@ static void callKernelFunc(EngineState *s, int kernelFuncNum, int argc) {
|
|||
kRestoreGame(s, 2, restoreArgv);
|
||||
} else {
|
||||
// Call kernel function
|
||||
s->r_acc = kernelFunc.fun(s, argc, argv);
|
||||
s->r_acc = kernelFunc.func(s, argc, argv);
|
||||
}
|
||||
|
||||
// Remove callk stack frame again
|
||||
s->_executionStack.pop_back();
|
||||
} else {
|
||||
Common::String warningMsg = "Dummy function " + kernelFunc.orig_name +
|
||||
Common::String warningMsg = "Dummy function " + kernelFunc.origName +
|
||||
Common::String::printf("[0x%x]", kernelFuncNum) +
|
||||
" invoked - ignoring. Params: " +
|
||||
Common::String::printf("%d", argc) + " (";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue