PowerPC: Remove PC macro.

This commit is contained in:
Admiral H. Curtiss
2023-01-09 21:49:50 +01:00
parent 82f3170876
commit be8d0b76ca
30 changed files with 151 additions and 127 deletions

View File

@ -111,7 +111,8 @@ void Run()
// If watchpoints are enabled, any instruction could be a breakpoint.
if (PowerPC::GetMode() != PowerPC::CoreMode::Interpreter)
{
if (PowerPC::breakpoints.IsAddressBreakPoint(PC) || PowerPC::memchecks.HasAny())
if (PowerPC::breakpoints.IsAddressBreakPoint(PowerPC::ppcState.pc) ||
PowerPC::memchecks.HasAny())
{
s_state = State::Stepping;
PowerPC::CoreMode old_mode = PowerPC::GetMode();