mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 11:32:43 +01:00
CFrame: Ignore "Pause on Focus Lost" when not started.
This commit is contained in:
parent
caa2f15105
commit
703b1e8654
@ -1141,7 +1141,7 @@ void CFrame::OnMouse(wxMouseEvent& event)
|
|||||||
|
|
||||||
void CFrame::OnFocusChange(wxFocusEvent& event)
|
void CFrame::OnFocusChange(wxFocusEvent& event)
|
||||||
{
|
{
|
||||||
if (SConfig::GetInstance().m_PauseOnFocusLost)
|
if (SConfig::GetInstance().m_PauseOnFocusLost && Core::IsRunningAndStarted())
|
||||||
{
|
{
|
||||||
if (RendererHasFocus())
|
if (RendererHasFocus())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user