No subject


Fri Aug 26 12:11:03 CEST 2016


were set from the command-line. And it's unlikely that we want to re-use
the same bootparam or save slot when starting what's likely to be a
completely different game than the one we just quit from.


Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- main.cpp	10 Oct 2004 16:31:15 -0000	1.49
+++ main.cpp	13 Oct 2004 08:49:33 -0000	1.50
@@ -387,6 +387,12 @@
 
 			runGame(detector, system);
 
+			// There are some command-line options that it's
+			// unlikely that we want to preserve now that we're
+			// going to start a different game.
+			ConfMan.removeKey("boot_param", ConfMan.kTransientDomain);
+			ConfMan.removeKey("save_slot", ConfMan.kTransientDomain);
+
 			// PluginManager::instance().unloadPlugins();
 			// PluginManager::instance().loadPlugins();
                 	launcherDialog(detector, system);





More information about the Scummvm-git-logs mailing list