diff options
author | Eugene Sandulenko | 2016-07-28 11:32:54 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-28 11:32:54 +0300 |
commit | 49ee8d82d1c08e0822d9387e15ad84efb8d81201 (patch) | |
tree | a017febbb2349dc118dcb2e121bab2dbea0ad8eb /engines | |
parent | 795a6286849fe1ed1f5333b59a9504a4af7db507 (diff) | |
download | scummvm-rg350-49ee8d82d1c08e0822d9387e15ad84efb8d81201.tar.gz scummvm-rg350-49ee8d82d1c08e0822d9387e15ad84efb8d81201.tar.bz2 scummvm-rg350-49ee8d82d1c08e0822d9387e15ad84efb8d81201.zip |
ACCESS: Move debug channel registration where they belong
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/access.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/access/access.cpp b/engines/access/access.cpp index 6f91bd76dd..ea2144459d 100644 --- a/engines/access/access.cpp +++ b/engines/access/access.cpp @@ -34,6 +34,12 @@ namespace Access { AccessEngine::AccessEngine(OSystem *syst, const AccessGameDescription *gameDesc) : _gameDescription(gameDesc), Engine(syst), _randomSource("Access"), _useItem(_flags[99]), _startup(_flags[170]), _manScaleOff(_flags[172]) { + // Set up debug channels + DebugMan.addDebugChannel(kDebugPath, "path", "Pathfinding debug level"); + DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts"); + DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling"); + DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling"); + _aboutBox = nullptr; _animation = nullptr; _bubbleBox = nullptr; @@ -151,12 +157,6 @@ void AccessEngine::setVGA() { } void AccessEngine::initialize() { - // Set up debug channels - DebugMan.addDebugChannel(kDebugPath, "Path", "Pathfinding debug level"); - DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts"); - DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling"); - DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling"); - if (isCD()) { const Common::FSNode gameDataDir(ConfMan.get("path")); // The CD version contains two versions of the game. |