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 /engines/cine | |
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 'engines/cine')
-rw-r--r-- | engines/cine/cine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 0d684ba715..ee4bccf3fb 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -51,9 +51,9 @@ Common::SaveFileManager *g_saveFileMan; CineEngine *g_cine; CineEngine::CineEngine(OSystem *syst, const CINEGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) { - Common::addDebugChannel(kCineDebugScript, "Script", "Script debug level"); - Common::addDebugChannel(kCineDebugPart, "Part", "Part debug level"); - Common::addDebugChannel(kCineDebugSound, "Sound", "Sound debug level"); + DebugMan.addDebugChannel(kCineDebugScript, "Script", "Script debug level"); + DebugMan.addDebugChannel(kCineDebugPart, "Part", "Part debug level"); + DebugMan.addDebugChannel(kCineDebugSound, "Sound", "Sound debug level"); // Setup mixer _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); @@ -72,7 +72,7 @@ CineEngine::~CineEngine() { if (g_cine->getGameType() == Cine::GType_OS) { freeErrmessDat(); } - Common::clearAllDebugChannels(); + DebugMan.clearAllDebugChannels(); } Common::Error CineEngine::run() { |