mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinWX: Move fullscreen switch to after startup is complete
This means that any error messages won't be hidden by the fullscreen window.
This commit is contained in:
@ -717,6 +717,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot)
|
||||
m_render_parent = new wxPanel(m_render_frame, IDM_MPANEL, wxDefaultPosition, wxDefaultSize, 0);
|
||||
#endif
|
||||
m_render_frame->Show();
|
||||
m_render_frame->Raise();
|
||||
}
|
||||
|
||||
#if defined(__APPLE__)
|
||||
@ -724,15 +725,10 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot)
|
||||
#endif
|
||||
|
||||
wxBusyCursor hourglass;
|
||||
|
||||
DoFullscreen(SConfig::GetInstance().bFullscreen);
|
||||
|
||||
SetDebuggerStartupParameters();
|
||||
|
||||
if (!BootManager::BootCore(std::move(boot)))
|
||||
{
|
||||
DoFullscreen(false);
|
||||
|
||||
// Destroy the renderer frame when not rendering to main
|
||||
if (!SConfig::GetInstance().bRenderToMain)
|
||||
m_render_frame->Destroy();
|
||||
|
Reference in New Issue
Block a user