aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/tinsel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index 44e81494f7..8ad177abbb 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -821,6 +821,12 @@ const char *const TinselEngine::_textFiles[][3] = {
TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc) :
Engine(syst), _gameDescription(gameDesc), _random("tinsel"),
_console(0), _sound(0), _midiMusic(0), _pcmMusic(0), _bmv(0) {
+ // Register debug flags
+ DebugMan.addDebugChannel(kTinselDebugAnimations, "animations", "Animations debugging");
+ DebugMan.addDebugChannel(kTinselDebugActions, "actions", "Actions debugging");
+ DebugMan.addDebugChannel(kTinselDebugSound, "sound", "Sound debugging");
+ DebugMan.addDebugChannel(kTinselDebugMusic, "music", "Music debugging");
+
_vm = this;
_gameId = 0;
@@ -828,12 +834,6 @@ TinselEngine::TinselEngine(OSystem *syst, const TinselGameDescription *gameDesc)
_config = new Config(this);
- // Register debug flags
- DebugMan.addDebugChannel(kTinselDebugAnimations, "animations", "Animations debugging");
- DebugMan.addDebugChannel(kTinselDebugActions, "actions", "Actions debugging");
- DebugMan.addDebugChannel(kTinselDebugSound, "sound", "Sound debugging");
- DebugMan.addDebugChannel(kTinselDebugMusic, "music", "Music debugging");
-
// Setup mixer
syncSoundSettings();