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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Apr 15 06:22:03 CEST 2006


Revision: 21907
Author:   fingolfin
Date:     2006-04-15 06:21:02 -0700 (Sat, 15 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21907&view=rev

Log Message:
-----------
Clear the transient domaing *after* running the launcher, not before, so that the graphics mode gets set correctly

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2006-04-15 13:12:03 UTC (rev 21906)
+++ scummvm/trunk/base/main.cpp	2006-04-15 13:21:02 UTC (rev 21907)
@@ -315,13 +315,13 @@
 
 	// Unless a game was specified, show the launcher dialog
 	if (detector._targetName.empty()) {
+		running = launcherDialog(detector, system);
+
 		// Discard any command line options. Those that affect the graphics
 		// mode etc. already have should have been handled by the backend at
 		// this point. And the others (like bootparam etc.) should not
 		// blindly be passed to the first game launched from the launcher.
 		ConfMan.getDomain(Common::ConfigManager::kTransientDomain)->clear();
-
-		running = launcherDialog(detector, system);
 	}
 
 	// FIXME: We're now looping the launcher. This, of course, doesn'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