diff options
author | Max Horn | 2010-04-27 21:40:52 +0000 |
---|---|---|
committer | Max Horn | 2010-04-27 21:40:52 +0000 |
commit | 460d69e8855f849e2200c49b198936b1201e0c91 (patch) | |
tree | 31bfcaf8c2603d01c9d971fb3b40390e0798ec02 /base | |
parent | 445dccd59bc77e760e649bae982d78f0c3ca6b04 (diff) | |
download | scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.tar.gz scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.tar.bz2 scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.zip |
COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
Diffstat (limited to 'base')
-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; |