Merge pull request #12886 from AdmiralCurtiss/dual-core-lockup
Core/VideoCommon: Revert change from #12828
This commit is contained in:
commit
883195f171
|
@ -66,11 +66,14 @@ void VideoConfig::Refresh()
|
|||
CPUThreadConfigCallback::AddConfigChangedCallback([]() {
|
||||
auto& system = Core::System::GetInstance();
|
||||
|
||||
const bool lock_gpu_thread = Core::IsRunning(system);
|
||||
if (lock_gpu_thread)
|
||||
system.GetFifo().PauseAndLock(true, false);
|
||||
|
||||
g_Config.Refresh();
|
||||
g_Config.VerifyValidity();
|
||||
|
||||
if (lock_gpu_thread)
|
||||
system.GetFifo().PauseAndLock(false, true);
|
||||
});
|
||||
s_has_registered_callback = true;
|
||||
|
|
Loading…
Reference in New Issue