diff options
author | Filippos Karapetis | 2009-05-31 16:02:10 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-05-31 16:02:10 +0000 |
commit | 010fbadf012324fb4f82ea2acdc77917f83fa4bf (patch) | |
tree | 9bc73b5d519ff07755faa8f2f642a30035b7c47e /common | |
parent | 865e8e642b8bbb00f4b4e1ac972a4f1d45af4bfa (diff) | |
download | scummvm-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.cpp | 8 |
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; |