diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index d797766126..2a415e634d 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -272,15 +272,14 @@ void Interpreter::fselx(UGeckoInstruction _inst) // !!! warning !!! // PS1 must be set to the value of PS0 or DragonballZ will be f**ked up // PS1 is said to be undefined -void Interpreter::frspx(UGeckoInstruction _inst) // round to single +void Interpreter::frspx(UGeckoInstruction inst) // round to single { - double b = rPS0(_inst.FB); + double b = rPS0(inst.FB); double rounded = ForceSingle(b); SetFI(b != rounded); FPSCR.FR = fabs(rounded) > fabs(b); UpdateFPRF(rounded); - rPS0(_inst.FD) = rPS1(_inst.FD) = rounded; - return; + rPS0(inst.FD) = rPS1(inst.FD) = rounded; }