diff options
| author | Jules Blok <jules.blok@gmail.com> | 2016-11-09 01:07:56 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2016-11-11 20:36:04 +0100 |
| commit | c21efa0cad0e968dcc9c439169e09ba7b3fed27c (patch) | |
| tree | 0990a1e3aba1199166ff47abf9779384dd83bf3a /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | f0ce3275afacbb8b61656f6d64216efee1dc2958 (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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); |
