diff options
| author | Lioncache <mai.iam2048@gmail.com> | 2023-12-20 08:40:38 -0500 |
|---|---|---|
| committer | Lioncache <mai.iam2048@gmail.com> | 2023-12-20 09:02:53 -0500 |
| commit | f97b2d472acdc8f69427f184fa8fc35a08f231e6 (patch) | |
| tree | b157b17f28e3b34244e9cc4ea6b6fdc9801a9511 /Source/Core/VideoCommon/Fifo.cpp | |
| parent | 70b7a59456164606833ebe45e7d790b8f03aab7a (diff) | |
VideoCommon/CommandProcessor: Pass system instance through constructor
Makes the use of the interface a little less noisy, especially given
how much of the interface depends on an instance being present.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 938990e182..513b655408 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -316,7 +316,7 @@ void FifoManager::RunGpuLoop() { auto& command_processor = m_system.GetCommandProcessor(); auto& fifo = command_processor.GetFifo(); - command_processor.SetCPStatusFromGPU(m_system); + command_processor.SetCPStatusFromGPU(); // check if we are able to run this buffer while (!command_processor.IsInterruptWaiting() && @@ -356,7 +356,7 @@ void FifoManager::RunGpuLoop() std::memory_order_relaxed); } - command_processor.SetCPStatusFromGPU(m_system); + command_processor.SetCPStatusFromGPU(); if (m_config_sync_gpu) { @@ -484,7 +484,7 @@ int FifoManager::RunGpuOnCpu(int ticks) fifo.CPReadWriteDistance.fetch_sub(GPFifo::GATHER_PIPE_SIZE, std::memory_order_relaxed); } - command_processor.SetCPStatusFromGPU(m_system); + command_processor.SetCPStatusFromGPU(); if (reset_simd_state) { |
