mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 23:59:54 -06:00
PowerPC: Remove rDEC macro.
This commit is contained in:
@ -212,7 +212,7 @@ static void ResetRegisters()
|
|||||||
|
|
||||||
// MSR should be 0x40, but we don't emulate BS1, so it would never be turned off :}
|
// MSR should be 0x40, but we don't emulate BS1, so it would never be turned off :}
|
||||||
ppcState.msr.Hex = 0;
|
ppcState.msr.Hex = 0;
|
||||||
rDEC = 0xFFFFFFFF;
|
ppcState.spr[SPR_DEC] = 0xFFFFFFFF;
|
||||||
SystemTimers::DecrementerSet();
|
SystemTimers::DecrementerSet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 LR(ppc_state) (ppc_state).spr[SPR_LR]
|
||||||
#define CTR(ppc_state) (ppc_state).spr[SPR_CTR]
|
#define CTR(ppc_state) (ppc_state).spr[SPR_CTR]
|
||||||
#define rDEC PowerPC::ppcState.spr[SPR_DEC]
|
|
||||||
#define SRR0 PowerPC::ppcState.spr[SPR_SRR0]
|
#define SRR0 PowerPC::ppcState.spr[SPR_SRR0]
|
||||||
#define SRR1 PowerPC::ppcState.spr[SPR_SRR1]
|
#define SRR1 PowerPC::ppcState.spr[SPR_SRR1]
|
||||||
#define SPRG0 PowerPC::ppcState.spr[SPR_SPRG0]
|
#define SPRG0 PowerPC::ppcState.spr[SPR_SPRG0]
|
||||||
|
Reference in New Issue
Block a user