diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 21:31:32 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-18 22:03:25 -0500 |
| commit | b0d244b77232508dcb9bcf3bf9efd9f57797bf3b (patch) | |
| tree | d011dc66a00bffa6076756c28cf836919d0c1cc4 /Source/Core/VideoCommon/AsyncRequests.cpp | |
| parent | 186b2f4e92c62fe67230cece4bbdf18b800853ab (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.cpp | 2 |
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(); }); |
