Skip to content

Commit

Permalink
DIRECTOR: More debug output for movie playback
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Mar 10, 2017
1 parent 3c08904 commit f123a6e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engines/director/director.cpp
Expand Up @@ -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();
Expand All @@ -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;
Expand Down

0 comments on commit f123a6e

Please sign in to comment.