[Scummvm-cvs-logs] SF.net SVN: scummvm:[33970] residual/trunk/engine/main.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Aug 17 15:44:11 CEST 2008


Revision: 33970
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33970&view=rev
Author:   aquadran
Date:     2008-08-17 13:44:10 +0000 (Sun, 17 Aug 2008)

Log Message:
-----------
fixed debug params from config

Modified Paths:
--------------
    residual/trunk/engine/main.cpp

Modified: residual/trunk/engine/main.cpp
===================================================================
--- residual/trunk/engine/main.cpp	2008-08-17 12:11:34 UTC (rev 33969)
+++ residual/trunk/engine/main.cpp	2008-08-17 13:44:10 UTC (rev 33970)
@@ -76,6 +76,11 @@
 	// Update the config file
 	ConfMan.set("versioninfo", gResidualVersion, Common::ConfigManager::kApplicationDomain);
 
+	if (!processSettings(command, settings))
+		return 0;
+
+	g_registry = new Registry();
+
 	// Load and setup the debuglevel and the debug flags. We do this at the
 	// soonest possible moment to ensure debug output starts early on, if
 	// requested.
@@ -91,11 +96,6 @@
 		settings.erase("debugflags");
 	}
 
-	if (!processSettings(command, settings))
-		return 0;
-
-	g_registry = new Registry();
-
 	SHOWFPS_GLOBAL = (tolower(g_registry->get("show_fps", "FALSE")[0]) == 't');
 	TINYGL_GLOBAL = (tolower(g_registry->get("soft_renderer", "FALSE")[0]) == 't');
 	ZBUFFER_GLOBAL = (tolower(g_registry->get("gl_zbuffer", "FALSE")[0]) == 't');


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