aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-27 18:28:18 +0100
committerEugene Sandulenko2017-02-27 18:28:18 +0100
commit927838011648f72a860974281b44afc6e72e972a (patch)
treea6ef6b846091e546ced6abf2d7ca6e379953871c /engines/director
parent7e933e55c9a0b5385fc28407f2ab75eb2b12ec5e (diff)
downloadscummvm-rg350-927838011648f72a860974281b44afc6e72e972a.tar.gz
scummvm-rg350-927838011648f72a860974281b44afc6e72e972a.tar.bz2
scummvm-rg350-927838011648f72a860974281b44afc6e72e972a.zip
DIRECTOR: Improved debug output
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/score.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 705dac8d85..bb4ac931c0 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -240,7 +240,7 @@ void Score::loadFrames(Common::SeekableSubReadStreamEndian &stream) {
while (size != 0) {
uint16 frameSize = stream.readUint16();
- debugC(kDebugLoading, 8, "++++ score frame %d (frameSize %d) size %d", _frames.size(), frameSize, size);
+ debugC(kDebugLoading, 8, "++++ score frame %d (frameSize %d) size %d", _frames.size() + 1, frameSize, size);
size -= frameSize;
frameSize -= 2;
@@ -266,7 +266,7 @@ void Score::loadFrames(Common::SeekableSubReadStreamEndian &stream) {
//Common::hexdump(channelData, ARRAYSIZE(channelData));
frame->readChannels(str);
- debugC(3, kDebugLoading, "Frame %d actionId: %d", _frames.size(), frame->_actionId);
+ debugC(3, kDebugLoading, "Frame %d actionId: %d", _frames.size() + 1, frame->_actionId);
delete str;