aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2007-09-05 20:30:27 +0000
committerEugene Sandulenko2007-09-05 20:30:27 +0000
commitfece7cc1bb357831bfb808a990e0a13c36263cf1 (patch)
tree5945d8769e942bd2d25563e2ba2528aed829a9e5 /common
parent94a96881ae3cf824b728fc1a7e3ae1ec1218d4c2 (diff)
downloadscummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.tar.gz
scummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.tar.bz2
scummvm-rg350-fece7cc1bb357831bfb808a990e0a13c36263cf1.zip
Make debug level 11 magic. It turns on all special debug level messages.
svn-id: r28858
Diffstat (limited to 'common')
-rw-r--r--common/util.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/util.cpp b/common/util.cpp
index b38dfa6664..ff6f02609b 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -481,8 +481,9 @@ void CDECL debugC(int level, uint32 engine_level, const char *s, ...) {
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);