aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2009-01-30 05:10:24 +0000
committerMax Horn2009-01-30 05:10:24 +0000
commit7cb437b56f95bff06b0c79be93cd619b95662346 (patch)
tree6c466852a68c135a92ed7abb816c358b0042c57c /gui
parent7b50c293e6c509142e204e1aa11d51204cda9073 (diff)
downloadscummvm-rg350-7cb437b56f95bff06b0c79be93cd619b95662346.tar.gz
scummvm-rg350-7cb437b56f95bff06b0c79be93cd619b95662346.tar.bz2
scummvm-rg350-7cb437b56f95bff06b0c79be93cd619b95662346.zip
Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
Diffstat (limited to 'gui')
-rw-r--r--gui/debugger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 39e07a28f3..7ad468b477 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -406,7 +406,7 @@ bool Debugger::Cmd_Help(int argc, const char **argv) {
}
bool Debugger::Cmd_DebugFlagsList(int argc, const char **argv) {
- const Common::SpecialDebugLevelList &debugLevels = Common::listSpecialDebugLevels();
+ const Common::DebugChannelList &debugLevels = Common::listDebugChannels();
DebugPrintf("Engine debug levels:\n");
DebugPrintf("--------------------\n");
@@ -414,7 +414,7 @@ bool Debugger::Cmd_DebugFlagsList(int argc, const char **argv) {
DebugPrintf("No engine debug levels\n");
return true;
}
- for (Common::SpecialDebugLevelList::const_iterator i = debugLevels.begin(); i != debugLevels.end(); ++i) {
+ for (Common::DebugChannelList::const_iterator i = debugLevels.begin(); i != debugLevels.end(); ++i) {
DebugPrintf("%c%s - %s (%s)\n", i->enabled ? '+' : ' ',
i->name.c_str(), i->description.c_str(),
i->enabled ? "enabled" : "disabled");
@@ -427,7 +427,7 @@ bool Debugger::Cmd_DebugFlagEnable(int argc, const char **argv) {
if (argc < 2) {
DebugPrintf("debugflag_enable <flag>\n");
} else {
- if (Common::enableSpecialDebugLevel(argv[1])) {
+ if (Common::enableDebugChannel(argv[1])) {
DebugPrintf("Enabled debug flag '%s'\n", argv[1]);
} else {
DebugPrintf("Failed to enable debug flag '%s'\n", argv[1]);
@@ -440,7 +440,7 @@ bool Debugger::Cmd_DebugFlagDisable(int argc, const char **argv) {
if (argc < 2) {
DebugPrintf("debugflag_disable <flag>\n");
} else {
- if (Common::disableSpecialDebugLevel(argv[1])) {
+ if (Common::disableDebugChannel(argv[1])) {
DebugPrintf("Disabled debug flag '%s'\n", argv[1]);
} else {
DebugPrintf("Failed to disable debug flag '%s'\n", argv[1]);