From a132d6aa7887a09a43cd550e3d0f6d82776324ce Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 10 Jan 2020 22:52:00 +0100 Subject: DIRECTOR: More streamlined movie loading tracing --- engines/director/director.cpp | 4 +++- engines/director/resource.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 3695615738..332b8b5759 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -314,7 +314,9 @@ MovieReference DirectorEngine::getNextMovieFromQueue() { res.movie = _movieQueue.front(); - debug(1, "=========> Next movie is %s", res.movie.c_str()); + debug(0, "======================================="); + debug(0, "=========> Next movie is %s", res.movie.c_str()); + debug(0, "======================================="); _movieQueue.remove_at(0); diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp index bd8000d68d..d0f802a715 100644 --- a/engines/director/resource.cpp +++ b/engines/director/resource.cpp @@ -284,10 +284,6 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) { Archive *shardcst = createArchive(); - debug(0, "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); - debug(0, "@@@@ Loading Shared cast '%s'", filename.c_str()); - debug(0, "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"); - _sharedDIB = new Common::HashMap; _sharedSTXT = new Common::HashMap; _sharedSound = new Common::HashMap; @@ -301,6 +297,10 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) { return; } + debug(0, "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); + debug(0, "@@@@ Loading Shared cast '%s'", filename.c_str()); + debug(0, "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n"); + _sharedScore = new Score(this); _sharedScore->setArchive(shardcst); -- cgit v1.2.3