mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 21:56:42 +00:00
vfpdouble: Fix the FTOUI NaN sign setting
This was fixed for vfpsingle, but not vfpdouble
This commit is contained in:
parent
7dfdbe22de
commit
53fa04f326
|
@ -552,7 +552,7 @@ static u32 vfp_double_ftoui(ARMul_State* state, int sd, int unused, int dm, u32
|
|||
exceptions |= FPSCR_IDC;
|
||||
|
||||
if (tm & VFP_NAN)
|
||||
vdm.sign = 0;
|
||||
vdm.sign = 1;
|
||||
|
||||
if (vdm.exponent >= 1023 + 32) {
|
||||
d = vdm.sign ? 0 : 0xffffffff;
|
||||
|
|
Loading…
Reference in a new issue