PowerPC: Remove rDEC macro.

This commit is contained in:
Admiral H. Curtiss 2023-01-10 01:23:29 +01:00
parent c13ca271d8
commit 10dabd9975
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
2 changed files with 1 additions and 2 deletions

View File

@ -212,7 +212,7 @@ static void ResetRegisters()
// MSR should be 0x40, but we don't emulate BS1, so it would never be turned off :}
ppcState.msr.Hex = 0;
rDEC = 0xFFFFFFFF;
ppcState.spr[SPR_DEC] = 0xFFFFFFFF;
SystemTimers::DecrementerSet();
}

View File

@ -248,7 +248,6 @@ void UpdatePerformanceMonitor(u32 cycles, u32 num_load_stores, u32 num_fp_inst);
#define LR(ppc_state) (ppc_state).spr[SPR_LR]
#define CTR(ppc_state) (ppc_state).spr[SPR_CTR]
#define rDEC PowerPC::ppcState.spr[SPR_DEC]
#define SRR0 PowerPC::ppcState.spr[SPR_SRR0]
#define SRR1 PowerPC::ppcState.spr[SPR_SRR1]
#define SPRG0 PowerPC::ppcState.spr[SPR_SPRG0]