mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Merge pull request #2768 from Armada651/focus-pause
CFrame: Ignore "Pause on Focus Lost" when not started.
This commit is contained in:
commit
2c7ae7787d
@ -1141,7 +1141,7 @@ void CFrame::OnMouse(wxMouseEvent& event)
|
||||
|
||||
void CFrame::OnFocusChange(wxFocusEvent& event)
|
||||
{
|
||||
if (SConfig::GetInstance().m_PauseOnFocusLost)
|
||||
if (SConfig::GetInstance().m_PauseOnFocusLost && Core::IsRunningAndStarted())
|
||||
{
|
||||
if (RendererHasFocus())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user