Merge pull request #2 from skidau/StartInFullscreen

Switch to fullscreen after the game starts so that the GUI does not fall over.
This commit is contained in:
skidau 2015-06-15 21:42:19 +10:00
commit 6df9ca1d0a
2 changed files with 4 additions and 1 deletions

View File

@ -3802,7 +3802,7 @@ bool MainFrame::BindControls()
#endif
// delayed fullscreen
if (wxGetApp().pending_fullscreen || fullScreen)
if (wxGetApp().pending_fullscreen)
panel->ShowFullScreen(true);
MainFrame* mf = wxGetApp().frame;

View File

@ -304,6 +304,9 @@ void GameArea::LoadGame(const wxString &name)
emusys = &GBASystem;
}
if (fullScreen)
GameArea::ShowFullScreen(true);
loaded = t;
SetFrameTitle();
SetFocus();