Interpreter: Update CR when FRSP's record bit is set

This commit is contained in:
Lioncash 2015-12-09 12:51:53 -05:00
parent a98bddc352
commit 3acf165787
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}