Permalink
Browse files

Merge pull request #6775 from lioncash/flags

Interpreter_FPUtils: Properly update the FPSCR's FEX bit in UpdateFPSCR()
  • Loading branch information...
Helios747 committed May 7, 2018
2 parents ecb5c97 + 64d1865 commit d131e4d2bc3b2911d4e3119be4e3c03961154720
Showing with 2 additions and 1 deletion.
  1. +2 −1 Source/Core/Core/PowerPC/Interpreter/Interpreter_FPUtils.h
@@ -46,7 +46,8 @@ inline void SetFI(int FI)
inline void UpdateFPSCR()
{
FPSCR.VX = (FPSCR.Hex & FPSCR_VX_ANY) != 0;
FPSCR.FEX = 0; // we assume that "?E" bits are always 0
FPSCR.FEX = (FPSCR.VX & FPSCR.VE) | (FPSCR.OX & FPSCR.OE) | (FPSCR.UX & FPSCR.UE) |
(FPSCR.ZX & FPSCR.ZE) | (FPSCR.XX & FPSCR.XE);
}
inline double ForceSingle(double value)

0 comments on commit d131e4d

Please sign in to comment.