aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2018-05-06 07:28:33 +0200
committerEugene Sandulenko2018-05-06 19:33:44 +0200
commitc6872dcf5299ef22a1ca0bfe7bbc2296f2e98868 (patch)
tree2534028b868d9859778bef27020fe61e5d166a2d
parentba666dfc32f472e79cb1d0a9fbe969f1a62d0e1e (diff)
downloadscummvm-rg350-c6872dcf5299ef22a1ca0bfe7bbc2296f2e98868.tar.gz
scummvm-rg350-c6872dcf5299ef22a1ca0bfe7bbc2296f2e98868.tar.bz2
scummvm-rg350-c6872dcf5299ef22a1ca0bfe7bbc2296f2e98868.zip
PRINCE: Added more debug output
-rw-r--r--engines/prince/resource.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/prince/resource.cpp b/engines/prince/resource.cpp
index ce0396a327..d264540393 100644
--- a/engines/prince/resource.cpp
+++ b/engines/prince/resource.cpp
@@ -52,6 +52,8 @@ Common::SeekableReadStream *Resource::getDecompressedStream(Common::SeekableRead
dec.decompress(buffer + 18, decompData, decompLen);
free(buffer);
+ debug(8, "Resource::getDecompressedStream: decompressed %d to %d bytes", stream->size(), decompLen);
+
return new Common::MemoryReadStream(decompData, decompLen, DisposeAfterUse::YES);
} else {
return stream;
@@ -143,7 +145,7 @@ bool PrinceEngine::loadLocation(uint16 locationNr) {
_mobList.clear();
if (getGameType() == kPrinceDataDE) {
const Common::String mobLstName = Common::String::format("mob%02d.lst", _locationNr);
- debug("name: %s", mobLstName.c_str());
+ debug(3, "moblist name: %s", mobLstName.c_str());
Resource::loadResource(_mobList, mobLstName.c_str(), false);
} else if (getGameType() == kPrinceDataPL) {
Resource::loadResource(_mobList, "mob.lst", false);