From 3acf1657872c7639ac811d5dcdd703ca4cfc7803 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 9 Dec 2015 12:51:53 -0500 Subject: [PATCH] Interpreter: Update CR when FRSP's record bit is set --- .../Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index 2a415e634d..d61d8e6231 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -280,6 +280,9 @@ void Interpreter::frspx(UGeckoInstruction inst) // round to single FPSCR.FR = fabs(rounded) > fabs(b); UpdateFPRF(rounded); rPS0(inst.FD) = rPS1(inst.FD) = rounded; + + if (inst.Rc) + Helper_UpdateCR1(); }