From 9b112c31756beeb555bd9d74b7ae3d1a2d490795 Mon Sep 17 00:00:00 2001 From: Tom Lally Date: Fri, 26 Aug 2022 23:23:29 +0100 Subject: [PATCH] Removed superfluous const --- src/Cafe/HW/Espresso/Recompiler/PPCRecompilerX64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cafe/HW/Espresso/Recompiler/PPCRecompilerX64.cpp b/src/Cafe/HW/Espresso/Recompiler/PPCRecompilerX64.cpp index 7b36a775..8e8a63d9 100644 --- a/src/Cafe/HW/Espresso/Recompiler/PPCRecompilerX64.cpp +++ b/src/Cafe/HW/Espresso/Recompiler/PPCRecompilerX64.cpp @@ -2242,7 +2242,7 @@ void PPCRecompilerX64Gen_imlInstruction_name_r(PPCRecFunction_t* PPCRecFunction, } 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) x64Emit_mov_mem32_reg64(x64GenContext, REG_RSP, offsetof(PPCInterpreter_t, spr.LR), tempToRealRegister(imlInstruction->op_r_name.registerIndex)); else if (sprIndex == SPR_CTR)