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:36:11 +10:00
parent 17270b5181
commit e6231e9ef5
2 changed files with 4 additions and 1 deletions

View File

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

View File

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