From c21efa0cad0e968dcc9c439169e09ba7b3fed27c Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 9 Nov 2016 01:07:56 +0100 Subject: D3D: Move exclusive mode switching to UI thread. This prevents deadlocks when switching to exclusive mode. And it also allows the CPU thread to block until we've completed the switch. --- Source/Core/DolphinWX/FrameTools.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 58f8c34afb..63416f6464 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -787,12 +787,6 @@ void CFrame::DoStop() // waiting on inputs bool should_pause = !NetPlayDialog::GetNetPlayClient(); - // If exclusive fullscreen is not enabled then we can pause the emulation - // before we've exited fullscreen. If not then we need to exit fullscreen first. - should_pause = - should_pause && (!RendererIsFullscreen() || !g_Config.ExclusiveFullscreenEnabled() || - SConfig::GetInstance().bRenderToMain); - if (should_pause) { Core::SetState(Core::CORE_PAUSE); -- cgit v1.2.3