Index: base/main.cpp
===================================================================
--- base/main.cpp	(revision 24703)
+++ base/main.cpp	(working copy)
@@ -215,14 +215,14 @@
 	// As a last resort add current directory
 	Common::File::addDefaultDirectory(".");
 
+	// Now the engine should've set up all debug levels so we can use the command line arugments here
+	Common::enableSpecialDebugLevelList(edebuglevels);
+
 	int result;
 
 	// Init the engine (this might change the screen parameters
 	result = engine->init();
 
-	// Now the engine should've set up all debug levels so we can use the command line arugments here
-	Common::enableSpecialDebugLevelList(edebuglevels);
-
 	// Run the game engine if the initialization was successful.
 	if (result == 0) {
 		result = engine->go();
