Merge pull request #6956 from lioncash/flag

Interpreter_FPUtils: Set the FPSCR.VX bit if any invalid operation exception bits are set
This commit is contained in:
Léo Lam 2018-05-25 15:10:05 +02:00 committed by GitHub
commit 56217fd42f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -31,7 +31,9 @@ inline void SetFPException(u32 mask)
{ {
FPSCR.FX = 1; FPSCR.FX = 1;
} }
FPSCR.Hex |= mask; FPSCR.Hex |= mask;
FPSCR.VX = (FPSCR.Hex & FPSCR_VX_ANY) != 0;
} }
inline void SetFI(int FI) inline void SetFI(int FI)