mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
PowerPC: Remove GPR macro.
This commit is contained in:
parent
ba1b624e1b
commit
8fccefa3aa
11 changed files with 44 additions and 39 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue