aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-02 20:50:14 +0100
committerEugene Sandulenko2019-12-02 20:50:14 +0100
commit6060ec7fcc1982a1f46526197d48c358961466a9 (patch)
tree57768960b48fc5ef4d7545788aed6dd1313c8760 /engines
parent5740a2a4b883ccecdacbe5f9f05de3d51c63eed5 (diff)
downloadscummvm-rg350-6060ec7fcc1982a1f46526197d48c358961466a9.tar.gz
scummvm-rg350-6060ec7fcc1982a1f46526197d48c358961466a9.tar.bz2
scummvm-rg350-6060ec7fcc1982a1f46526197d48c358961466a9.zip
DIRECTOR: LINGO: Fix debug output
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo-codegen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp
index 446c5fa180..d9a55c8ec6 100644
--- a/engines/director/lingo/lingo-codegen.cpp
+++ b/engines/director/lingo/lingo-codegen.cpp
@@ -251,13 +251,13 @@ Symbol *Lingo::define(Common::String &name, int start, int nargs, Common::String
_currentScript->remove_at(i);
}
- if (debugChannelSet(1, kDebugLingoExec)) {
+ if (debugChannelSet(1, kDebugLingoCompile)) {
uint pc = 0;
while (pc < sym->u.defn->size()) {
Common::String instr = g_lingo->decodeInstruction(sym->u.defn, pc, &pc);
- debugC(1, kDebugLingoExec, "[%5d] %s", pc, instr.c_str());
+ debugC(1, kDebugLingoCompile, "[%5d] %s", pc, instr.c_str());
}
- debugC(1, kDebugLingoExec, "<end define code>");
+ debugC(1, kDebugLingoCompile, "<end define code>");
}
return sym;