mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 00:41:19 +12:00
Removed superfluous const
This commit is contained in:
parent
dff320415b
commit
9b112c3175
1 changed files with 1 additions and 1 deletions
|
@ -2242,7 +2242,7 @@ void PPCRecompilerX64Gen_imlInstruction_name_r(PPCRecFunction_t* PPCRecFunction,
|
||||||
}
|
}
|
||||||
else if( name >= PPCREC_NAME_SPR0 && name < PPCREC_NAME_SPR0+999 )
|
else if( name >= PPCREC_NAME_SPR0 && name < PPCREC_NAME_SPR0+999 )
|
||||||
{
|
{
|
||||||
const uint32 sprIndex = (name - PPCREC_NAME_SPR0);
|
uint32 sprIndex = (name - PPCREC_NAME_SPR0);
|
||||||
if (sprIndex == SPR_LR)
|
if (sprIndex == SPR_LR)
|
||||||
x64Emit_mov_mem32_reg64(x64GenContext, REG_RSP, offsetof(PPCInterpreter_t, spr.LR), tempToRealRegister(imlInstruction->op_r_name.registerIndex));
|
x64Emit_mov_mem32_reg64(x64GenContext, REG_RSP, offsetof(PPCInterpreter_t, spr.LR), tempToRealRegister(imlInstruction->op_r_name.registerIndex));
|
||||||
else if (sprIndex == SPR_CTR)
|
else if (sprIndex == SPR_CTR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue