mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
DIRECTOR: Lingo: Show execution trace at earlier debug levels
This commit is contained in:
parent
be763b59aa
commit
9cfec74ac1
@ -940,7 +940,7 @@ void Lingo::c_whencode() {
|
|||||||
|
|
||||||
start += g_lingo->calcStringAlignment(eventname.c_str()) + 1;
|
start += g_lingo->calcStringAlignment(eventname.c_str()) + 1;
|
||||||
|
|
||||||
debugC(3, kDebugLingoExec, "c_whencode([%5d][%5d], %s)", start, end, eventname.c_str());
|
debugC(1, kDebugLingoExec, "c_whencode([%5d][%5d], %s)", start, end, eventname.c_str());
|
||||||
|
|
||||||
int entity = g_lingo->_currentEntityId;
|
int entity = g_lingo->_currentEntityId;
|
||||||
g_lingo->_currentEntityId = 0;
|
g_lingo->_currentEntityId = 0;
|
||||||
@ -953,7 +953,7 @@ void Lingo::c_whencode() {
|
|||||||
uint pc = start;
|
uint pc = start;
|
||||||
while (pc <= end) {
|
while (pc <= end) {
|
||||||
Common::String instr = g_lingo->decodeInstruction(pc, &pc);
|
Common::String instr = g_lingo->decodeInstruction(pc, &pc);
|
||||||
debugC(3, kDebugLingoExec, "[%5d] %s", pc, instr.c_str());
|
debugC(1, kDebugLingoExec, "[%5d] %s", pc, instr.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user