mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-25 20:51:20 -08:00
armemu: Fix FTOUI NaN sign.
This commit is contained in:
parent
2ed03c10e0
commit
9c127f4a01
@ -614,7 +614,7 @@ static u32 vfp_single_ftoui(ARMul_State* state, int sd, int unused, s32 m, u32 f
|
|||||||
exceptions |= FPSCR_IDC;
|
exceptions |= FPSCR_IDC;
|
||||||
|
|
||||||
if (tm & VFP_NAN)
|
if (tm & VFP_NAN)
|
||||||
vsm.sign = 0;
|
vsm.sign = 1;
|
||||||
|
|
||||||
if (vsm.exponent >= 127 + 32) {
|
if (vsm.exponent >= 127 + 32) {
|
||||||
d = vsm.sign ? 0 : 0xffffffff;
|
d = vsm.sign ? 0 : 0xffffffff;
|
||||||
|
Loading…
Reference in New Issue
Block a user