summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-01-04 03:17:26 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2023-01-04 03:17:26 +0100
commit2fdaf0a86e969374a5a7f3e7e748fca9a189e331 (patch)
treebbb2f79dd8b779da8415b5d735adeae0931109f1 /Source/Core/VideoCommon/CommandProcessor.cpp
parent74e1577a2c91d5c5925b8cb170dc1ad41c02b3a0 (diff)
HW/ProcessorInterface: Rename member variables to fit naming convention.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index b6bb1bb20d..1d38b27e86 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -372,8 +372,8 @@ void CommandProcessorManager::GatherPipeBursted(Core::System& system)
{
// In multibuffer mode is not allowed write in the same FIFO attached to the GPU.
// Fix Pokemon XD in DC mode.
- if ((processor_interface.Fifo_CPUEnd == fifo.CPEnd.load(std::memory_order_relaxed)) &&
- (processor_interface.Fifo_CPUBase == fifo.CPBase.load(std::memory_order_relaxed)) &&
+ if ((processor_interface.m_fifo_cpu_end == fifo.CPEnd.load(std::memory_order_relaxed)) &&
+ (processor_interface.m_fifo_cpu_base == fifo.CPBase.load(std::memory_order_relaxed)) &&
fifo.CPReadWriteDistance.load(std::memory_order_relaxed) > 0)
{
system.GetFifo().FlushGpu(system);
@@ -396,9 +396,10 @@ void CommandProcessorManager::GatherPipeBursted(Core::System& system)
if (m_cp_ctrl_reg.GPReadEnable && m_cp_ctrl_reg.GPLinkEnable)
{
- processor_interface.Fifo_CPUWritePointer = fifo.CPWritePointer.load(std::memory_order_relaxed);
- processor_interface.Fifo_CPUBase = fifo.CPBase.load(std::memory_order_relaxed);
- processor_interface.Fifo_CPUEnd = fifo.CPEnd.load(std::memory_order_relaxed);
+ processor_interface.m_fifo_cpu_write_pointer =
+ fifo.CPWritePointer.load(std::memory_order_relaxed);
+ processor_interface.m_fifo_cpu_base = fifo.CPBase.load(std::memory_order_relaxed);
+ processor_interface.m_fifo_cpu_end = fifo.CPEnd.load(std::memory_order_relaxed);
}
// If the game is running close to overflowing, make the exception checking more frequent.
@@ -418,13 +419,13 @@ void CommandProcessorManager::GatherPipeBursted(Core::System& system)
// check if we are in sync
ASSERT_MSG(COMMANDPROCESSOR,
fifo.CPWritePointer.load(std::memory_order_relaxed) ==
- processor_interface.Fifo_CPUWritePointer,
+ processor_interface.m_fifo_cpu_write_pointer,
"FIFOs linked but out of sync");
ASSERT_MSG(COMMANDPROCESSOR,
- fifo.CPBase.load(std::memory_order_relaxed) == processor_interface.Fifo_CPUBase,
+ fifo.CPBase.load(std::memory_order_relaxed) == processor_interface.m_fifo_cpu_base,
"FIFOs linked but out of sync");
ASSERT_MSG(COMMANDPROCESSOR,
- fifo.CPEnd.load(std::memory_order_relaxed) == processor_interface.Fifo_CPUEnd,
+ fifo.CPEnd.load(std::memory_order_relaxed) == processor_interface.m_fifo_cpu_end,
"FIFOs linked but out of sync");
}