From b0d244b77232508dcb9bcf3bf9efd9f57797bf3b Mon Sep 17 00:00:00 2001 From: Lioncache Date: Mon, 18 Dec 2023 21:31:32 -0500 Subject: VideoCommon/Fifo: Pass system instance through FifoManager constructor Given how many member functions make use of the system instance, it's likely just better to pass the system instance in on construction. Makes the interface a little less noisy to use. --- Source/Core/VideoCommon/VideoConfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index d9cb9ad0c3..daba4be9e1 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -67,13 +67,13 @@ void VideoConfig::Refresh() const bool lock_gpu_thread = Core::IsRunningAndStarted(); if (lock_gpu_thread) - system.GetFifo().PauseAndLock(system, true, false); + system.GetFifo().PauseAndLock(true, false); g_Config.Refresh(); g_Config.VerifyValidity(); if (lock_gpu_thread) - system.GetFifo().PauseAndLock(system, false, true); + system.GetFifo().PauseAndLock(false, true); }); s_has_registered_callback = true; } -- cgit v1.2.3