From 1f24122d359cc3aadf1029e93118f9523a30350a Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Sun, 27 Jul 2014 00:08:27 +0200 Subject: [PATCH] Frame: Only prevent exclusive fullscreen switches when the emulator is paused. This fixes the "Use Fullscreen" setting in which case the switch is done while the emulator is uninitialized. --- Source/Core/DolphinWX/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 43d5185ee3..e1ee904653 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1191,7 +1191,7 @@ void CFrame::DoFullscreen(bool enable_fullscreen) { if (!g_Config.bBorderlessFullscreen && !SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain && - Core::GetState() != Core::CORE_RUN) + Core::GetState() == Core::CORE_PAUSE) { // A responsive renderer is required for exclusive fullscreen, but the // renderer can only respond in the running state. Therefore we ignore