SCI: Remove PRINT_STK macro; cleanup

svn-id: r44533
This commit is contained in:
Max Horn 2009-10-02 12:53:04 +00:00
parent 0fe40b5053
commit 908e13fa73
2 changed files with 24 additions and 16 deletions

View file

@ -503,7 +503,7 @@ bool Console::cmdRegisters(int argc, const char **argv) {
EngineState *s = _vm->_gamestate; // for PRINT_STK
DebugPrintf("pc=%04x:%04x obj=%04x:%04x fp=ST:%04x sp=ST:%04x\n",
PRINT_REG(scriptState.xs->addr.pc), PRINT_REG(scriptState.xs->objp),
PRINT_STK(scriptState.xs->fp), PRINT_STK(scriptState.xs->sp));
(unsigned)(scriptState.xs->fp - s->stack_base), (unsigned)(scriptState.xs->sp - s->stack_base));
} else
DebugPrintf("<no execution stack: pc,obj,fp omitted>\n");