From 1fe60f10fabe62edafb678ef178e8c2abbbf1216 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 28 Jul 2016 11:36:33 +0300 Subject: [PATCH] GNAP: Move debug channel registration to the top of the engine constructor --- engines/gnap/gnap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp index 6a03bf8eb06..809e711e4f1 100644 --- a/engines/gnap/gnap.cpp +++ b/engines/gnap/gnap.cpp @@ -91,9 +91,10 @@ static const char *kSceneNames[] = { GnapEngine::GnapEngine(OSystem *syst, const ADGameDescription *gd) : Engine(syst), _gameDescription(gd) { - _random = new Common::RandomSource("gnap"); DebugMan.addDebugChannel(kDebugBasic, "basic", "Basic debug level"); + _random = new Common::RandomSource("gnap"); + Engine::syncSoundSettings(); _exe = nullptr;