aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2020-01-10 22:52:00 +0100
committerEugene Sandulenko2020-01-10 22:52:00 +0100
commita132d6aa7887a09a43cd550e3d0f6d82776324ce (patch)
tree1d9b992374b1d851100bc9bf12247e1dd8a7990e /engines
parent7830f936aa2e9ea3668edea3eba8896dbc194cde (diff)
downloadscummvm-rg350-a132d6aa7887a09a43cd550e3d0f6d82776324ce.tar.gz
scummvm-rg350-a132d6aa7887a09a43cd550e3d0f6d82776324ce.tar.bz2
scummvm-rg350-a132d6aa7887a09a43cd550e3d0f6d82776324ce.zip
DIRECTOR: More streamlined movie loading tracing
Diffstat (limited to 'engines')
-rw-r--r--engines/director/director.cpp4
-rw-r--r--engines/director/resource.cpp8
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<int, Common::SeekableSubReadStreamEndian *>;
_sharedSTXT = new Common::HashMap<int, Common::SeekableSubReadStreamEndian *>;
_sharedSound = new Common::HashMap<int, Common::SeekableSubReadStreamEndian *>;
@@ -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);