diff options
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp index fb456f38a2..b78f1be154 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -198,7 +198,7 @@ static Common::Error runGame(const EnginePlugin *plugin, OSystem &system, const Common::StringTokenizer tokenizer(edebuglevels, " ,"); while (!tokenizer.empty()) { Common::String token = tokenizer.nextToken(); - if (!enableDebugChannel(token)) + if (!DebugMan.enableDebugChannel(token)) warning("Engine does not support debug level '%s'", token.c_str()); } @@ -212,7 +212,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::clearAllDebugChannels(); + DebugMan.clearAllDebugChannels(); // Free up memory delete engine; |