COMMON: Move DebugChannel stuff into a new DebugMan singleton

svn-id: r48821
This commit is contained in:
Max Horn 2010-04-27 21:40:52 +00:00
parent 445dccd59b
commit 460d69e885
28 changed files with 194 additions and 179 deletions

View file

@ -1680,7 +1680,7 @@ static EngineState *_game_run(EngineState *&s) {
EngineState *successor = NULL;
int game_is_finished = 0;
if (Common::isDebugChannelEnabled(kDebugLevelOnStartup))
if (DebugMan.isDebugChannelEnabled(kDebugLevelOnStartup))
g_sci->getSciDebugger()->attach();
do {