aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 8540c309e0..d75d5a893b 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -180,7 +180,7 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const
Common::StringTokenizer tokenizer(edebuglevels, " ,");
while (!tokenizer.empty()) {
Common::String token = tokenizer.nextToken();
- if (!enableSpecialDebugLevel(token))
+ if (!enableDebugChannel(token))
warning("Engine does not support debug level '%s'", token.c_str());
}
@@ -202,7 +202,7 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const
system.engineDone();
// We clear all debug levels again even though the engine should do it
- Common::clearAllSpecialDebugLevels();
+ Common::clearAllDebugChannels();
// Free up memory
delete engine;