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:
commit
6df9ca1d0a
|
@ -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;
|
||||
|
|
|
@ -304,6 +304,9 @@ void GameArea::LoadGame(const wxString &name)
|
|||
emusys = &GBASystem;
|
||||
}
|
||||
|
||||
if (fullScreen)
|
||||
GameArea::ShowFullScreen(true);
|
||||
|
||||
loaded = t;
|
||||
SetFrameTitle();
|
||||
SetFocus();
|
||||
|
|
Loading…
Reference in New Issue