diff options
author | Eugene Sandulenko | 2016-08-18 10:19:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-18 20:46:43 +0200 |
commit | bcc85ecc87a1e13aadb0c4f844a848971080d78a (patch) | |
tree | 30abee26bd33d105c013f9a8ae5c5c2c9d2729b0 | |
parent | 737a1b8c2f139d43df837e601e5c9ed6ec0f7fde (diff) | |
download | scummvm-rg350-bcc85ecc87a1e13aadb0c4f844a848971080d78a.tar.gz scummvm-rg350-bcc85ecc87a1e13aadb0c4f844a848971080d78a.tar.bz2 scummvm-rg350-bcc85ecc87a1e13aadb0c4f844a848971080d78a.zip |
DIRECTOR: Lingo: Added more debug output
-rw-r--r-- | engines/director/lingo/lingo-code.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index 150e242e88..28d2ed44cf 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -843,6 +843,7 @@ void Lingo::call(Common::String &name, int nargs) { g_lingo->push(d); } + debugC(5, kDebugLingoExec, "Pushing frame %d", g_lingo->_callstack.size() + 1); CFrame *fp = new CFrame; fp->sp = sym; @@ -868,6 +869,8 @@ void Lingo::c_procret() { return; } + debugC(5, kDebugLingoExec, "Popping frame %d", g_lingo->_callstack.size() + 1); + CFrame *fp = g_lingo->_callstack.back(); g_lingo->_currentScript = fp->retscript; |