diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp index 9d0014cc1a..fd900defe1 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp @@ -152,7 +152,7 @@ int Interpreter::SingleStepInner() if (m_prev_inst.hex != 0) { - UReg_MSR& msr = (UReg_MSR&)MSR; + const UReg_MSR msr{MSR}; if (msr.FP) // If FPU is enabled, just execute { m_op_table[m_prev_inst.OPCD](m_prev_inst);