mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
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.
This commit is contained in:
@ -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(); });
|
||||
|
Reference in New Issue
Block a user