summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2013-02-02 20:50:40 +1100
committerskidau <skidau@gmail.com>2013-02-02 20:50:40 +1100
commit867bfaa696807b3cb99b7af6cb9302f39d355ba3 (patch)
tree113803a3e45254f2f5f230f727fb6eca1a424563 /Source/Core/VideoCommon/Src/CommandProcessor.cpp
parent1b6240f7f972caef7c53a7a51ff71b4653b3f00a (diff)
Changed cmdidle to match the isGpuReadingData flag. Fixes the random freezes in The Last Story.
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index 1c0b43a835..12b11d7ea5 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -630,7 +630,7 @@ void SetCpStatusRegister()
// Here always there is one fifo attached to the GPU
m_CPStatusReg.Breakpoint = fifo.bFF_Breakpoint;
m_CPStatusReg.ReadIdle = !fifo.CPReadWriteDistance || (fifo.CPReadPointer == fifo.CPWritePointer) || (fifo.CPReadPointer == fifo.CPBreakpoint) ;
- m_CPStatusReg.CommandIdle = !fifo.CPReadWriteDistance || AtBreakpoint();
+ m_CPStatusReg.CommandIdle = !fifo.isGpuReadingData;
m_CPStatusReg.UnderflowLoWatermark = fifo.bFF_LoWatermark;
m_CPStatusReg.OverflowHiWatermark = fifo.bFF_HiWatermark;