aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-26 00:05:10 +0100
committerEugene Sandulenko2017-02-26 00:05:10 +0100
commit45b41357c14727a635b730a1dace047ba8edf11f (patch)
treea615a744ab86317c0a85bf4866c28e33522dd643
parent27a0f433338726dd486c5c8be0ad60ba587aeaa1 (diff)
downloadscummvm-rg350-45b41357c14727a635b730a1dace047ba8edf11f.tar.gz
scummvm-rg350-45b41357c14727a635b730a1dace047ba8edf11f.tar.bz2
scummvm-rg350-45b41357c14727a635b730a1dace047ba8edf11f.zip
DIRECTOR: More debug output when loading
-rw-r--r--engines/director/resource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index cb870d2c61..9ceb95ba74 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -26,6 +26,7 @@
#include "director/director.h"
#include "director/archive.h"
+#include "director/util.h"
#include "director/lingo/lingo.h"
namespace Director {
@@ -261,7 +262,7 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) {
if (bmp.size() != 0) {
debugC(3, kDebugLoading, "Loading %d BITDs", bmp.size());
for (Common::Array<uint16>::iterator iterator = bmp.begin(); iterator != bmp.end(); ++iterator) {
- debugC(3, kDebugLoading, "Shared BITD %d", *iterator);
+ debugC(3, kDebugLoading, "Shared BITD %d (%s)", *iterator, numToCastNum(*iterator - 1024));
_sharedBMP->setVal(*iterator, shardcst->getResource(MKTAG('B','I','T','D'), *iterator));
}
}