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

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Sat Jan 24 19:27:10 CET 2009


Revision: 36038
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36038&view=rev
Author:   jvprat
Date:     2009-01-24 18:27:09 +0000 (Sat, 24 Jan 2009)

Log Message:
-----------
Remove the unused OSystem parameter of launcherDialog() (noticed by syke)

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp

Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2009-01-24 16:29:38 UTC (rev 36037)
+++ scummvm/trunk/base/main.cpp	2009-01-24 18:27:09 UTC (rev 36038)
@@ -55,7 +55,7 @@
 #endif
 
 
-static bool launcherDialog(OSystem &system) {
+static bool launcherDialog() {
 
 	// Discard any command line options. Those that affect the graphics
 	// mode and the others (like bootparam etc.) should not
@@ -300,7 +300,7 @@
 
 	// Unless a game was specified, show the launcher dialog
 	if (0 == ConfMan.getActiveDomain())
-		launcherDialog(system);
+		launcherDialog();
 
 	// FIXME: We're now looping the launcher. This, of course, doesn't
 	// work as well as it should. In theory everything should be destroyed
@@ -345,7 +345,7 @@
 		
 		// reset the graphics to default
 		setupGraphics(system);
-		launcherDialog(system);
+		launcherDialog();
 	}
 	PluginManager::instance().unloadPlugins();
 	PluginManager::destroy();


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