summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index 0adbf42b9b..a700ef76ba 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -461,6 +461,12 @@ void Write16(const u16 _Value, const u32 _Address)
fifo.bFF_HiWatermarkInt = tmpCtrl.FifoOverflowIntEnable;
fifo.bFF_LoWatermarkInt = tmpCtrl.FifoUnderflowIntEnable;
+ if(tmpCtrl.GPReadEnable && tmpCtrl.GPLinkEnable)
+ {
+ *(g_VideoInitialize.Fifo_CPUWritePointer) = fifo.CPWritePointer;
+ *(g_VideoInitialize.Fifo_CPUBase) = fifo.CPBase;
+ *(g_VideoInitialize.Fifo_CPUEnd) = fifo.CPEnd;
+ }
// If overflown happens process the fifo to LoWatemark
if (bProcessFifoToLoWatemark)
ProcessFifoToLoWatemark();