Skip to content

Commit

Permalink
MAIN: Enable the debug manager before the other subsystems
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Dec 19, 2013
1 parent 2efd848 commit e5bcbe0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xoreos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ int main(int argc, char **argv) {

Engines::GameThread *gameThread = new Engines::GameThread;
try {
// Enable requested debug channels
initDebug();

// Initialize all necessary subsystems
init();

// Probe and create the game engine
gameThread->init(baseDir);

// Enable requested debug channels
initDebug();

if (ConfigMan.getBool("listdebug", false)) {
// List debug channels
listDebug();
Expand Down

0 comments on commit e5bcbe0

Please sign in to comment.