aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-03-10 09:10:11 +0100
committerEugene Sandulenko2017-03-10 09:10:11 +0100
commitf123a6e4eba2b859dbbea67354ea4b125627d8b1 (patch)
tree300e2557e9e6a25687a103d0c83a819054a22e72 /engines
parent3c08904e5f4fe6c3d9dc9cf35cfed2d63aaa46e5 (diff)
downloadscummvm-rg350-f123a6e4eba2b859dbbea67354ea4b125627d8b1.tar.gz
scummvm-rg350-f123a6e4eba2b859dbbea67354ea4b125627d8b1.tar.bz2
scummvm-rg350-f123a6e4eba2b859dbbea67354ea4b125627d8b1.zip
DIRECTOR: More debug output for movie playback
Diffstat (limited to 'engines')
-rw-r--r--engines/director/director.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index edea7ea591..c6459ead46 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -176,8 +176,12 @@ Common::Error DirectorEngine::run() {
_nextMovie.frameI = -1;
}
+ debugC(1, kDebugEvents, "Starting playback of score '%s'", _currentScore->getMacName().c_str());
+
_currentScore->startLoop();
+ debugC(1, kDebugEvents, "Finished playback of score '%s'", _currentScore->getMacName().c_str());
+
// If a loop was requested, do it
if (!_nextMovie.movie.empty()) {
_lingo->restartLingo();
@@ -193,7 +197,7 @@ Common::Error DirectorEngine::run() {
}
_currentScore = new Score(this, mov);
- debug(0, "Score name %s", _currentScore->getMacName().c_str());
+ debug(0, "Switching to score '%s'", _currentScore->getMacName().c_str());
_nextMovie.movie.clear();
loop = true;