summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorLioncache <mai.iam2048@gmail.com>2023-12-18 21:31:32 -0500
committerLioncache <mai.iam2048@gmail.com>2023-12-18 22:03:25 -0500
commitb0d244b77232508dcb9bcf3bf9efd9f57797bf3b (patch)
treed011dc66a00bffa6076756c28cf836919d0c1cc4 /Source/Core/VideoCommon/AsyncRequests.cpp
parent186b2f4e92c62fe67230cece4bbdf18b800853ab (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.cpp2
1 files changed, 1 insertions, 1 deletions
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(); });