mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
Remove the "boot_param" and "save_slot" settings from the transient domain
when returning to the launcher after quitting a game. From what I understand, if they're in the transient domain it means they 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. svn-id: r15541
This commit is contained in:
parent
3ff56dd43b
commit
942ad1dc6c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user