From 927838011648f72a860974281b44afc6e72e972a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 27 Feb 2017 18:28:18 +0100 Subject: DIRECTOR: Improved debug output --- engines/director/score.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/director') 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; -- cgit v1.2.3