aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2008-05-17 19:23:44 +0000
committerSven Hesse2008-05-17 19:23:44 +0000
commitad044516cb4a1856486cb50f6bfd866a75df5796 (patch)
treef84685bdbc346a85a8a9d85a8771442845aed676 /engines/gob
parent6e13bde2130fb12f7d307c4fcdedd8e36e3038bb (diff)
downloadscummvm-rg350-ad044516cb4a1856486cb50f6bfd866a75df5796.tar.gz
scummvm-rg350-ad044516cb4a1856486cb50f6bfd866a75df5796.tar.bz2
scummvm-rg350-ad044516cb4a1856486cb50f6bfd866a75df5796.zip
Adding video debug output in Inter_v2, too
svn-id: r32158
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter_v2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp
index 6278a6e22f..0e2a6c607e 100644
--- a/engines/gob/inter_v2.cpp
+++ b/engines/gob/inter_v2.cpp
@@ -1576,6 +1576,10 @@ void Inter_v2::o2_playImd() {
palEnd = _vm->_parse->parseValExpr();
palCmd = 1 << (flags & 0x3F);
+ debugC(1, kDebugVideo, "Playing video \"%s\" @ %d+%d, frames %d - %d, "
+ "paletteCmd %d (%d - %d), flags %X", _vm->_global->_inter_resStr, x, y,
+ startFrame, lastFrame, palCmd, palStart, palEnd, flags);
+
if ((imd[0] != 0) && !_vm->_vidPlayer->primaryOpen(imd, x, y, flags)) {
WRITE_VAR(11, -1);
return;