PowerPC: Remove GPR macro.

This commit is contained in:
Admiral H. Curtiss 2023-01-09 23:12:37 +01:00
commit 8fccefa3aa
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
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;