summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNormmatt <normmatt234@gmail.com>2014-12-16 11:56:01 +0100
committerLioncash <mathew1800@gmail.com>2014-12-16 11:56:06 +0100
commit9c127f4a01fee95632336d53269cdf1c64ea37a3 (patch)
treeeb63bbf631cae0ed9ae84a2e4bf07cf484cd88de /src/core
parentarmemu: Fix FSUBS bug where NaN shouldn't be negated (diff)
downloadyuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar.gz
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar.bz2
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar.lz
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar.xz
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.tar.zst
yuzu-9c127f4a01fee95632336d53269cdf1c64ea37a3.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfpsingle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
index f5410fd9a..6c33d8b78 100644
--- a/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp
@@ -614,7 +614,7 @@ static u32 vfp_single_ftoui(ARMul_State* state, int sd, int unused, s32 m, u32 f
exceptions |= FPSCR_IDC;
if (tm & VFP_NAN)
- vsm.sign = 0;
+ vsm.sign = 1;
if (vsm.exponent >= 127 + 32) {
d = vsm.sign ? 0 : 0xffffffff;