[Scummvm-cvs-logs] SF.net SVN: scummvm: [23110] scummvm/trunk/base/main.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Jun 14 21:43:32 CEST 2006


Revision: 23110
Author:   lordhoto
Date:     2006-06-14 12:43:25 -0700 (Wed, 14 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23110&view=rev

Log Message:
-----------
Should fix --debugflags for all engines which set up the debug flags in Engine::init.

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2006-06-14 19:33:17 UTC (rev 23109)
+++ scummvm/trunk/base/main.cpp	2006-06-14 19:43:25 UTC (rev 23110)
@@ -205,9 +205,6 @@
 		return 0;
 	}
 
-	// Now the engine should've set up all debug levels so we can use the command line arugments here
-	Common::enableSpecialDebugLevelList(edebuglevels);
-
 	// Set the window caption to the game name
 	Common::String caption(ConfMan.get("description"));
 
@@ -240,6 +237,9 @@
 	// 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();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list