aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-01-24 18:27:09 +0000
committerJordi Vilalta Prat2009-01-24 18:27:09 +0000
commitae60d362c85a7cac0360904e97f95fcd154d80dd (patch)
treeaf6df31c3778980a5fa42c4fb8182325d0a55c72
parent8ff3f14e2909e71538a2ddec1572af1160501b16 (diff)
downloadscummvm-rg350-ae60d362c85a7cac0360904e97f95fcd154d80dd.tar.gz
scummvm-rg350-ae60d362c85a7cac0360904e97f95fcd154d80dd.tar.bz2
scummvm-rg350-ae60d362c85a7cac0360904e97f95fcd154d80dd.zip
Remove the unused OSystem parameter of launcherDialog() (noticed by syke)
svn-id: r36038
-rw-r--r--base/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 4acb558c10..9efe582301 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -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 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
// 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 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
// reset the graphics to default
setupGraphics(system);
- launcherDialog(system);
+ launcherDialog();
}
PluginManager::instance().unloadPlugins();
PluginManager::destroy();