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/AsyncRequests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp') diff --git a/Source/Core/VideoCommon/AsyncRequests.cpp b/Source/Core/VideoCommon/AsyncRequests.cpp index ad854a3dce..92c06f0b90 100644 --- a/Source/Core/VideoCommon/AsyncRequests.cpp +++ b/Source/Core/VideoCommon/AsyncRequests.cpp @@ -96,7 +96,7 @@ void AsyncRequests::PushEvent(const AsyncRequests::Event& event, bool blocking) m_queue.push(event); auto& system = Core::System::GetInstance(); - system.GetFifo().RunGpu(system); + system.GetFifo().RunGpu(); if (blocking) { m_cond.wait(lock, [this] { return m_queue.empty(); }); -- cgit v1.2.3