summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index aa9f8c4f28..4cd1967ce9 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -325,6 +325,13 @@ void STACKALIGN GatherPipeBursted()
else
fifo.CPWritePointer += GATHER_PIPE_SIZE;
+ if (m_CPCtrlReg.GPReadEnable && m_CPCtrlReg.GPLinkEnable)
+ {
+ ProcessorInterface::Fifo_CPUWritePointer = fifo.CPWritePointer;
+ ProcessorInterface::Fifo_CPUBase = fifo.CPBase;
+ ProcessorInterface::Fifo_CPUEnd = fifo.CPEnd;
+ }
+
Common::AtomicAdd(fifo.CPReadWriteDistance, GATHER_PIPE_SIZE);
if (!IsOnThread())
@@ -485,13 +492,6 @@ void SetCpControlRegister()
fifo.bFF_LoWatermarkInt = m_CPCtrlReg.FifoUnderflowIntEnable;
fifo.bFF_GPLinkEnable = m_CPCtrlReg.GPLinkEnable;
- if (m_CPCtrlReg.GPReadEnable && m_CPCtrlReg.GPLinkEnable)
- {
- ProcessorInterface::Fifo_CPUWritePointer = fifo.CPWritePointer;
- ProcessorInterface::Fifo_CPUBase = fifo.CPBase;
- ProcessorInterface::Fifo_CPUEnd = fifo.CPEnd;
- }
-
if (fifo.bFF_GPReadEnable && !m_CPCtrlReg.GPReadEnable)
{
fifo.bFF_GPReadEnable = m_CPCtrlReg.GPReadEnable;