[Scummvm-git-logs] scummvm master -> 73508f6111a80d1d93277117cb183791b36ba01b

sev- sev at scummvm.org
Sat Aug 1 19:43:58 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
73508f6111 FULLPIPE: Added debug output


Commit: 73508f6111a80d1d93277117cb183791b36ba01b
    https://github.com/scummvm/scummvm/commit/73508f6111a80d1d93277117cb183791b36ba01b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-08-01T21:42:53+02:00

Commit Message:
FULLPIPE: Added debug output

Changed paths:
    engines/fullpipe/ngiarchive.cpp


diff --git a/engines/fullpipe/ngiarchive.cpp b/engines/fullpipe/ngiarchive.cpp
index e69307addd..0bf13c175f 100644
--- a/engines/fullpipe/ngiarchive.cpp
+++ b/engines/fullpipe/ngiarchive.cpp
@@ -79,6 +79,8 @@ NGIArchive::NGIArchive(const Common::String &filename) : _ngiFilename(filename)
 		header.pos = READ_LE_UINT32(&fat[i * 32 + 24]);
 		header.size = READ_LE_UINT32(&fat[i * 32 + 28]);
 
+		debug(5, "file: %s  flags: %x  extVal: %d  pos: %d  size: %d", header.filename, header.flags, header.extVal, header.pos, header.size);
+
 		if (header.flags & 0x1e0) {
 			warning("File has flags: %.8x\n", header.flags & 0x1e0);
 		}
@@ -90,7 +92,7 @@ NGIArchive::NGIArchive(const Common::String &filename) : _ngiFilename(filename)
 
 	g_fp->_currArchive = this;
 
-	debugC(0, kDebugLoading, "NGIArchive::NGIArchive(%s): Located %d files", filename.c_str(), _headers.size());
+	debug(4, "NGIArchive::NGIArchive(%s): Located %d files", filename.c_str(), _headers.size());
 }
 
 NGIArchive::~NGIArchive() {




More information about the Scummvm-git-logs mailing list