Skip to content

Commit

Permalink
R5900: Fix extra ram register override for RFU060 syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
DaZombieKiller committed Apr 21, 2024
1 parent 1753cd9 commit 33a812c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcsx2/R5900OpcodeImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,7 @@ void SYSCALL()
case Syscall::RFU060:
if (CHECK_EXTRAMEM && cpuRegs.GPR.n.a1.UL[0] == 0xFFFFFFFF)
{
cpuRegs.GPR.n.a1.UL[0] = Ps2MemSize::ExposedRam - cpuRegs.GPR.n.a2.UL[0];
cpuRegs.GPR.n.a2.UL[0] = 0;
cpuRegs.GPR.n.a1.UL[0] = Ps2MemSize::ExposedRam - cpuRegs.GPR.n.a2.SL[0];
}
break;
case Syscall::SetOsdConfigParam:
Expand Down

0 comments on commit 33a812c

Please sign in to comment.