mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
DIRECTOR: Fix debug channels initialization
This commit is contained in:
parent
c92f1a665f
commit
21e82aef5f
@ -24,6 +24,7 @@
|
||||
|
||||
#include "common/config-manager.h"
|
||||
#include "common/debug.h"
|
||||
#include "common/debug-channels.h"
|
||||
#include "common/scummsys.h"
|
||||
#include "common/error.h"
|
||||
#include "common/events.h"
|
||||
@ -49,6 +50,9 @@ namespace Director {
|
||||
|
||||
DirectorEngine::DirectorEngine(OSystem *syst, const DirectorGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc),
|
||||
_rnd("director") {
|
||||
DebugMan.addDebugChannel(kDebugLingoExec, "lingoexec", "Lingo Execution");
|
||||
DebugMan.addDebugChannel(kDebugLingoCompile, "lingocompile", "Lingo Compilation");
|
||||
|
||||
if (!_mixer->isReady())
|
||||
error("Sound initialization failed");
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "common/debug-channels.h"
|
||||
#include "common/str-array.h"
|
||||
|
||||
#include "director/lingo/lingo.h"
|
||||
@ -83,9 +82,6 @@ Symbol::Symbol() {
|
||||
Lingo::Lingo(DirectorEngine *vm) : _vm(vm) {
|
||||
g_lingo = this;
|
||||
|
||||
DebugMan.addDebugChannel(kDebugLingoExec, "lingoexec", "Lingo Execution");
|
||||
DebugMan.addDebugChannel(kDebugLingoCompile, "lingocompile", "Lingo Compilation");
|
||||
|
||||
for (const EventHandlerType *t = &eventHanlerDescs[0]; t->handler != kEventNone; ++t)
|
||||
_eventHandlerTypes[t->handler] = t->name;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user