Skip to content

Commit

Permalink
Remove AtBreakpoint() from ReadIdle. Fixes Rogue Squadron 2 without
Browse files Browse the repository at this point in the history
Breaking Gladius
  • Loading branch information
JMC47 committed Dec 28, 2014
1 parent 9465a87 commit 51b26f3
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 51b26f3

Please sign in to comment.