diff options
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index c6700d89cd..7462044bf0 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -387,6 +387,12 @@ extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) { 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); |