mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #550 from lioncash/ftoui
vfpdouble: Fix the FTOUI NaN sign setting
This commit is contained in:
commit
837439e7d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue