mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
Clear the transient domaing *after* running the launcher, not before, so that the graphics mode gets set correctly
svn-id: r21907
This commit is contained in:
parent
3628629007
commit
f3278d7f82
@ -315,13 +315,13 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
|
||||
|
||||
// Unless a game was specified, show the launcher dialog
|
||||
if (detector._targetName.empty()) {
|
||||
running = launcherDialog(detector, system);
|
||||
|
||||
// Discard any command line options. Those that affect the graphics
|
||||
// mode etc. already have should have been handled by the backend at
|
||||
// this point. And the others (like bootparam etc.) should not
|
||||
// blindly be passed to the first game launched from the launcher.
|
||||
ConfMan.getDomain(Common::ConfigManager::kTransientDomain)->clear();
|
||||
|
||||
running = launcherDialog(detector, system);
|
||||
}
|
||||
|
||||
// FIXME: We're now looping the launcher. This, of course, doesn't
|
||||
|
Loading…
Reference in New Issue
Block a user