Skip to content

Commit

Permalink
SHERLOCK: Fix debug channel initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jul 28, 2016
1 parent 1fc0340 commit aa2eec0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions engines/sherlock/sherlock.cpp
Expand Up @@ -30,6 +30,11 @@ namespace Sherlock {

SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gameDesc) :
Engine(syst), _gameDescription(gameDesc), _randomSource("Sherlock") {
DebugMan.addDebugChannel(kDebugLevelScript, "scripts", "Script debug level");
DebugMan.addDebugChannel(kDebugLevelAdLibDriver, "AdLib", "AdLib driver debugging");
DebugMan.addDebugChannel(kDebugLevelMT32Driver, "MT32", "MT32 driver debugging");
DebugMan.addDebugChannel(kDebugLevelMusic, "Music", "Music debugging");

_animation = nullptr;
_debugger = nullptr;
_events = nullptr;
Expand Down Expand Up @@ -74,11 +79,6 @@ SherlockEngine::~SherlockEngine() {
}

void SherlockEngine::initialize() {
DebugMan.addDebugChannel(kDebugLevelScript, "scripts", "Script debug level");
DebugMan.addDebugChannel(kDebugLevelAdLibDriver, "AdLib", "AdLib driver debugging");
DebugMan.addDebugChannel(kDebugLevelMT32Driver, "MT32", "MT32 driver debugging");
DebugMan.addDebugChannel(kDebugLevelMusic, "Music", "Music debugging");

Fonts::setVm(this);
ImageFile::setVm(this);
ImageFile3DO::setVm(this);
Expand Down

0 comments on commit aa2eec0

Please sign in to comment.