From e6ce8f8130e54c2ca93ee064e309a756093f442c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 6 May 2018 07:21:43 +0200 Subject: PRINCE: Added more debug output --- engines/prince/archive.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/prince/archive.cpp') diff --git a/engines/prince/archive.cpp b/engines/prince/archive.cpp index 3eb37b643a..aaf3a9def5 100644 --- a/engines/prince/archive.cpp +++ b/engines/prince/archive.cpp @@ -135,6 +135,8 @@ Common::SeekableReadStream *PtcArchive::createReadStreamForMember(const Common:: return 0; } + debug(8, "PtcArchive::createReadStreamForMember(%s)", name.c_str()); + const FileEntry &entryHeader = _items[name]; if (entryHeader._size < 4) @@ -156,6 +158,8 @@ Common::SeekableReadStream *PtcArchive::createReadStreamForMember(const Common:: free(buffer); size = decompLen; buffer = decompData; + + debug(8, "PtcArchive::createReadStreamForMember: decompressed %d to %d bytes", entryHeader._size, decompLen); } //debug("PtcArchive::createReadStreamForMember name %s", name.c_str()); -- cgit v1.2.3