PowerPC: Parametrize SRR0 macro.
This commit is contained in:
6 files changed
+14
-14
No files matched your search
@@ -131,7 +131,7 @@ static void Trace(const UGeckoInstruction& inst)
|
||||
DEBUG_LOG_FMT(POWERPC,
|
||||
"INTER PC: {:08x} SRR0: {:08x} SRR1: {:08x} CRval: {:016x} "
|
||||
"FPSCR: {:08x} MSR: {:08x} LR: {:08x} {} {:08x} {}",
|
||||
PowerPC::ppcState.pc, SRR0, SRR1, PowerPC::ppcState.cr.fields[0],
|
||||
PowerPC::ppcState.pc, SRR0(PowerPC::ppcState), SRR1, PowerPC::ppcState.cr.fields[0],
|
||||
PowerPC::ppcState.fpscr.Hex, PowerPC::ppcState.msr.Hex, PowerPC::ppcState.spr[8],
|
||||
regs, inst.hex, ppc_inst);
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ void Interpreter::rfi(UGeckoInstruction inst)
|
||||
// PowerPC::CheckExceptions();
|
||||
// else
|
||||
// set NPC to saved offset and resume
|
||||
PowerPC::ppcState.npc = SRR0;
|
||||
PowerPC::ppcState.npc = SRR0(PowerPC::ppcState);
|
||||
m_end_block = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user