From f7a848e65de384b02057b9f4b849b041667ce30d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 10 Jan 2020 17:06:50 +0100 Subject: DIRECTOR: Better track of loaded movies --- engines/director/director.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'engines') diff --git a/engines/director/director.cpp b/engines/director/director.cpp index cc48b0492f..3695615738 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -182,17 +182,19 @@ Common::Error DirectorEngine::run() { } _currentScore->setArchive(_mainArchive); - debug(0, "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); - debug(0, "@@@@ Score name '%s'", _currentScore->getMacName().c_str()); - debug(0, "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"); bool loop = true; while (loop) { loop = false; - if (_currentScore) + if (_currentScore) { + debug(0, "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); + debug(0, "@@@@ Score name '%s'", _currentScore->getMacName().c_str()); + debug(0, "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"); + _currentScore->loadArchive(); + } // If we came in a loop, then skip as requested if (!_nextMovie.frameS.empty()) { -- cgit v1.2.3