diff options
author | Eugene Sandulenko | 2004-10-27 22:17:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-10-27 22:17:11 +0000 |
commit | 213c4093bac6954e17be4311d9a7840402764780 (patch) | |
tree | 6591f3f90efb5552cc71ebf44b810dff0dba5b65 /saga/sthread.cpp | |
parent | c7e5ab1f2d0f103de25da3c57cd30d5ee3ec7312 (diff) | |
download | scummvm-rg350-213c4093bac6954e17be4311d9a7840402764780.tar.gz scummvm-rg350-213c4093bac6954e17be4311d9a7840402764780.tar.bz2 scummvm-rg350-213c4093bac6954e17be4311d9a7840402764780.zip |
Implement some script functions and report stubs.
svn-id: r15691
Diffstat (limited to 'saga/sthread.cpp')
-rw-r--r-- | saga/sthread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/sthread.cpp b/saga/sthread.cpp index c8be77c7fc..864b86d351 100644 --- a/saga/sthread.cpp +++ b/saga/sthread.cpp @@ -274,7 +274,7 @@ int Script::SThreadRun(SCRIPT_THREAD *thread, int instr_limit) { saved_offset = thread->i_offset; in_char = scriptS.readByte(); - debug(1, "Executing thread offset: %lu (%x) stack: %d", thread->i_offset, in_char, thread->stackSize()); + debug(2, "Executing thread offset: %lu (%x) stack: %d", thread->i_offset, in_char, thread->stackSize()); switch (in_char) { case 0x01: // nextblock @@ -390,8 +390,8 @@ int Script::SThreadRun(SCRIPT_THREAD *thread, int instr_limit) { sfunc = _SFuncList[func_num].sfunc_fp; if (sfunc == NULL) { - _vm->_console->print(S_WARN_PREFIX "%X: Undefined script function number: (%X)\n", - thread->i_offset, func_num); + _vm->_console->print(S_WARN_PREFIX "%X: Undefined script function number: #%d (%X)\n", + thread->i_offset, func_num, func_num); _vm->_console->print(S_WARN_PREFIX "Removing %d operand(s) from stack.\n", n_args); for (i = 0; i < n_args; i++) { thread->pop(); |