aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-31 16:02:10 +0000
committerFilippos Karapetis2009-05-31 16:02:10 +0000
commit010fbadf012324fb4f82ea2acdc77917f83fa4bf (patch)
tree9bc73b5d519ff07755faa8f2f642a30035b7c47e /common
parent865e8e642b8bbb00f4b4e1ac972a4f1d45af4bfa (diff)
downloadscummvm-rg350-010fbadf012324fb4f82ea2acdc77917f83fa4bf.tar.gz
scummvm-rg350-010fbadf012324fb4f82ea2acdc77917f83fa4bf.tar.bz2
scummvm-rg350-010fbadf012324fb4f82ea2acdc77917f83fa4bf.zip
Document that debug level 11 turns on all special debug level messages (refer to rev. #28858)
svn-id: r41076
Diffstat (limited to 'common')
-rw-r--r--common/debug.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/debug.cpp b/common/debug.cpp
index 1aa5809b00..cc358596f7 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -122,7 +122,7 @@ DebugChannelList listDebugChannels() {
}
bool isDebugChannelEnabled(uint32 level) {
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel == 11)
return true;
// return gDebugLevelsEnabled & (1 << level);
@@ -130,7 +130,7 @@ bool isDebugChannelEnabled(uint32 level) {
}
bool isDebugChannelEnabled(const String &name) {
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel == 11)
return true;
@@ -217,7 +217,7 @@ void debugN(int level, const char *s, ...) {
void debugC(int level, uint32 debugChannels, const char *s, ...) {
va_list va;
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel != 11)
if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & debugChannels))
return;
@@ -230,7 +230,7 @@ void debugC(int level, uint32 debugChannels, const char *s, ...) {
void debugC(uint32 debugChannels, const char *s, ...) {
va_list va;
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel != 11)
if (!(Common::gDebugLevelsEnabled & debugChannels))
return;