summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Fifo.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-12-21 17:46:28 +0000
committerGitHub <noreply@github.com>2023-12-21 17:46:28 +0000
commit8d4575cfd821e23dc5d1b7479fde362a76177df4 (patch)
tree251559b45336ae7a14c778dba34315f2bd30f9c9 /Source/Core/VideoCommon/Fifo.cpp
parentf7b655e5da3edfa7a83c510f92c364b8f4c174e5 (diff)
parentf97b2d472acdc8f69427f184fa8fc35a08f231e6 (diff)
Merge pull request #12454 from lioncash/proc
VideoCommon/CommandProcessor: Pass system instance through constructor
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
-rw-r--r--Source/Core/VideoCommon/Fifo.cpp6
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)
{