diff options
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r-- | scumm/debugger.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index 95f8ec0764..f3a8d57884 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -525,13 +525,14 @@ bool ScummDebugger::Cmd_ImportRes(int argc, const char** argv) { bool ScummDebugger::Cmd_PrintScript(int argc, const char **argv) { int i; ScriptSlot *ss = &_s->vm.slot[1]; - Debug_Printf("+----------------------------+\n"); - Debug_Printf("|# |num|sta|typ|fr|rec|fc|cut|\n"); - Debug_Printf("+--+---+---+---+--+--+---+---+\n"); + Debug_Printf("+-----------------------------------+\n"); + Debug_Printf("|# |num|offset|sta|typ|fr|rec|fc|cut|\n"); + Debug_Printf("+--+---+------+---+---+--+--+---+---+\n"); for (i = 1; i < NUM_SCRIPT_SLOT; i++, ss++) { if (ss->number) { - Debug_Printf("|%2d|%3d|%3d|%3d|%2d|%3d|%2d|%3d|\n", - i, ss->number, ss->status, ss->where, ss->freezeResistant, ss->recursive, + Debug_Printf("|%2d|%3d|0x%04x|%3d|%3d|%2d|%3d|%2d|%3d|\n", + i, ss->number, ss->offs, ss->status, ss->where, + ss->freezeResistant, ss->recursive, ss->freezeCount, ss->cutsceneOverride); } } |