[Scummvm-cvs-logs] SF.net SVN: scummvm: [28858] scummvm/trunk/common/util.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Sep 5 22:30:27 CEST 2007


Revision: 28858
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28858&view=rev
Author:   sev
Date:     2007-09-05 13:30:27 -0700 (Wed, 05 Sep 2007)

Log Message:
-----------
Make debug level 11 magic. It turns on all special debug level messages.

Modified Paths:
--------------
    scummvm/trunk/common/util.cpp

Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp	2007-09-05 19:47:32 UTC (rev 28857)
+++ scummvm/trunk/common/util.cpp	2007-09-05 20:30:27 UTC (rev 28858)
@@ -481,8 +481,9 @@
 	char buf[STRINGBUFLEN];
 	va_list va;
 
-	if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & engine_level))
-		return;
+	if (gDebugLevel != 11)
+		if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & engine_level))
+			return;
 
 	va_start(va, s);
 	vsnprintf(buf, STRINGBUFLEN, s, va);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list