[Scummvm-git-logs] scummvm master -> 942360f419396e5ef82a0858136c1175ca65a7e4
sev-
sev at scummvm.org
Fri Jul 17 11:32:07 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
942360f419 DIRECTOR: LINGO: More debug output during compilation
Commit: 942360f419396e5ef82a0858136c1175ca65a7e4
https://github.com/scummvm/scummvm/commit/942360f419396e5ef82a0858136c1175ca65a7e4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-17T13:31:42+02:00
Commit Message:
DIRECTOR: LINGO: More debug output during compilation
Changed paths:
engines/director/lingo/lingo-codegen.cpp
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp
index a69829fa50..9680bedc4b 100644
--- a/engines/director/lingo/lingo-codegen.cpp
+++ b/engines/director/lingo/lingo-codegen.cpp
@@ -98,7 +98,8 @@ Symbol ScriptContext::define(Common::String &name, int nargs, ScriptData *code,
}
Symbol Lingo::codeDefine(Common::String &name, int start, int nargs, int end, bool removeCode) {
- debugC(1, kDebugCompile, "codeDefine(\"%s\"(len: %d), %d, %d, %d)",
+ if (debugChannelSet(-1, kDebugFewFramesOnly) || debugChannelSet(1, kDebugCompile))
+ debug("codeDefine(\"%s\"(len: %d), %d, %d, %d)",
name.c_str(), _currentAssembly->size() - 1, start, nargs, end);
if (end == -1)
More information about the Scummvm-git-logs
mailing list