Changed cmdidle to match the isGpuReadingData flag. Fixes the random freezes in The Last Story.
This commit is contained in:
parent
1b6240f7f9
commit
867bfaa696
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue