yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

vfpdouble: Fix the FTOUI NaN sign setting

This was fixed for vfpsingle, but not vfpdouble
This commit is contained in:
Lioncash 2015-02-09 17:17:52 -05:00
parent 7dfdbe22de
commit 53fa04f326
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ static u32 vfp_double_ftoui(ARMul_State* state, int sd, int unused, int dm, u32
exceptions |= FPSCR_IDC; exceptions |= FPSCR_IDC;
if (tm & VFP_NAN) if (tm & VFP_NAN)
vdm.sign = 0; vdm.sign = 1;
if (vdm.exponent >= 1023 + 32) { if (vdm.exponent >= 1023 + 32) {
d = vdm.sign ? 0 : 0xffffffff; d = vdm.sign ? 0 : 0xffffffff;