summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-10 03:01:07 +0100
committerbunnei <bunneidev@gmail.com>2015-02-10 03:01:07 +0100
commit837439e7d57833973e6f3bdd04ce597aaaa9fd45 (patch)
treefe511cc3a1453afaee2956563decbf7c04e634da /src
parentMerge pull request #549 from lioncash/tossed (diff)
parentvfpdouble: Fix the FTOUI NaN sign setting (diff)
downloadyuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar.gz
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar.bz2
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar.lz
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar.xz
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.tar.zst
yuzu-837439e7d57833973e6f3bdd04ce597aaaa9fd45.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpdouble.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
index d6d21db2f..2c15db12b 100644
--- a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp
@@ -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;