Skip to content

Commit

Permalink
Merge pull request #1778 from JMC47/ReadIdleFix
Browse files Browse the repository at this point in the history
Remove AtBreakpoint() from ReadIdle. Fixes Rogue Squadron 2 without breaking Gladius
  • Loading branch information
skidau committed Jan 2, 2015
2 parents ec4dfae + 51b26f3 commit 9c6795c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/CommandProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ void SetCpStatusRegister()
{
// Here always there is one fifo attached to the GPU
m_CPStatusReg.Breakpoint = fifo.bFF_Breakpoint;
m_CPStatusReg.ReadIdle = !fifo.CPReadWriteDistance || AtBreakpoint() || (fifo.CPReadPointer == fifo.CPWritePointer);
m_CPStatusReg.ReadIdle = !fifo.CPReadWriteDistance || (fifo.CPReadPointer == fifo.CPWritePointer);
m_CPStatusReg.CommandIdle = !fifo.CPReadWriteDistance || AtBreakpoint() || !fifo.bFF_GPReadEnable;
m_CPStatusReg.UnderflowLoWatermark = fifo.bFF_LoWatermark;
m_CPStatusReg.OverflowHiWatermark = fifo.bFF_HiWatermark;
Expand Down

0 comments on commit 9c6795c

Please sign in to comment.