FifoManager: Extract RestoreState from PauseAndLock

Replace calls of FifoManager::PauseAndLock(do_lock=false) with new
function RestoreState for clarity.
This commit is contained in:
Dentomologist
2023-06-04 17:07:07 -07:00
parent f628a979c4
commit f497eb519e
4 changed files with 9 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ void VideoConfig::Refresh()
g_Config.VerifyValidity();
if (lock_gpu_thread)
system.GetFifo().PauseAndLock(false, true);
system.GetFifo().RestoreState(true);
};
s_config_changed_callback_id =