aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/cine.cpp
diff options
context:
space:
mode:
authorMax Horn2010-04-27 21:40:52 +0000
committerMax Horn2010-04-27 21:40:52 +0000
commit460d69e8855f849e2200c49b198936b1201e0c91 (patch)
tree31bfcaf8c2603d01c9d971fb3b40390e0798ec02 /engines/cine/cine.cpp
parent445dccd59bc77e760e649bae982d78f0c3ca6b04 (diff)
downloadscummvm-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/cine.cpp')
-rw-r--r--engines/cine/cine.cpp8
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() {