diff options
author | Eugene Sandulenko | 2016-07-28 11:33:15 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-28 11:33:15 +0300 |
commit | 40290fb244af0017d7219faf21511ad4d5e60c4f (patch) | |
tree | 8e6af34431900da6a22ee6439c94f40054a32ef5 | |
parent | 49ee8d82d1c08e0822d9387e15ad84efb8d81201 (diff) | |
download | scummvm-rg350-40290fb244af0017d7219faf21511ad4d5e60c4f.tar.gz scummvm-rg350-40290fb244af0017d7219faf21511ad4d5e60c4f.tar.bz2 scummvm-rg350-40290fb244af0017d7219faf21511ad4d5e60c4f.zip |
CINE: Move debug channel registration to the first place in the constructor
Otherwise we could miss some of the debug output as the channels are not yet
registered.
-rw-r--r-- | engines/cine/cine.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index d2f088dcd8..414fe49eb6 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -49,13 +49,14 @@ CineEngine::CineEngine(OSystem *syst, const CINEGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc), _rnd("cine") { - // Setup mixer - syncSoundSettings(); - DebugMan.addDebugChannel(kCineDebugScript, "Script", "Script debug level"); DebugMan.addDebugChannel(kCineDebugPart, "Part", "Part debug level"); DebugMan.addDebugChannel(kCineDebugSound, "Sound", "Sound debug level"); DebugMan.addDebugChannel(kCineDebugCollision, "Collision", "Collision debug level"); + + // Setup mixer + syncSoundSettings(); + _console = new CineConsole(this); g_cine = this; |