Fix for bug #2089275: "GUI: Returning to launcher may trigger an error".
svn-id: r34532
This commit is contained in:
parent
371af75374
commit
78d7a276cf
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ static bool launcherDialog(OSystem &system) {
|
|||
system.setGraphicsMode(ConfMan.get("gfx_mode").c_str());
|
||||
|
||||
system.initSize(320, 200);
|
||||
|
||||
if (ConfMan.hasKey("aspect_ratio"))
|
||||
system.setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio"));
|
||||
if (ConfMan.hasKey("fullscreen"))
|
||||
system.setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen"));
|
||||
system.endGFXTransaction();
|
||||
|
||||
// Set initial window caption
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue