diff options
author | Lioncash <mathew1800@gmail.com> | 2015-03-02 08:26:49 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-03-04 01:13:01 +0100 |
commit | 4b89cf9e435f0a86f4b6656636b9bc0be092c111 (patch) | |
tree | c81ed569efea1ff7a6401ef8e2d8ad2d6c3b86d2 /src/core/arm/skyeye_common/vfp/vfpdouble.cpp | |
parent | Merge pull request #621 from Subv/power (diff) | |
download | yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar.gz yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar.bz2 yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar.lz yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar.xz yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.tar.zst yuzu-4b89cf9e435f0a86f4b6656636b9bc0be092c111.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/skyeye_common/vfp/vfpdouble.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp index 1a05ef8c1..d76d37fd4 100644 --- a/src/core/arm/skyeye_common/vfp/vfpdouble.cpp +++ b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp @@ -661,8 +661,8 @@ static u32 vfp_double_ftosi(ARMul_State* state, int sd, int unused, int dm, u32 if ((rem + incr) < rem && d < 0xffffffff) d += 1; - if (d > (0x7fffffff + (vdm.sign != 0))) { - d = (0x7fffffff + (vdm.sign != 0)); + if (d > (0x7fffffffU + (vdm.sign != 0))) { + d = (0x7fffffffU + (vdm.sign != 0)); exceptions |= FPSCR_IOC; } else if (rem) exceptions |= FPSCR_IXC; |