aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2020-01-10 17:06:50 +0100
committerEugene Sandulenko2020-01-10 17:06:50 +0100
commitf7a848e65de384b02057b9f4b849b041667ce30d (patch)
tree80b695dfb08b8bc548f0b8ecdf649ef7ea963974 /engines
parent26812078b5bd3d1ef272f4f830990e3ddefa77de (diff)
downloadscummvm-rg350-f7a848e65de384b02057b9f4b849b041667ce30d.tar.gz
scummvm-rg350-f7a848e65de384b02057b9f4b849b041667ce30d.tar.bz2
scummvm-rg350-f7a848e65de384b02057b9f4b849b041667ce30d.zip
DIRECTOR: Better track of loaded movies
Diffstat (limited to 'engines')
-rw-r--r--engines/director/director.cpp10
1 files changed, 6 insertions, 4 deletions
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()) {