PowerPC: Remove GPR macro.

This commit is contained in:
Admiral H. Curtiss
2023-01-09 23:12:37 +01:00
parent ba1b624e1b
commit 8fccefa3aa
11 changed files with 44 additions and 39 deletions

View File

@ -280,7 +280,7 @@ static bool IsStackSane()
DEBUG_ASSERT(PowerPC::ppcState.msr.DR && PowerPC::ppcState.msr.IR);
// Check the stack pointer
u32 SP = GPR(1);
u32 SP = PowerPC::ppcState.gpr[1];
if (!PowerPC::HostIsRAMAddress(SP))
return false;