aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authornotaz2012-07-13 01:26:50 +0300
committernotaz2012-07-18 23:56:53 +0300
commit02455d0db3002033a703f443a24b7369c0efc6d0 (patch)
tree4ada8745abc81799ff101eeb618434dffb86735e /libpcsxcore
parent3d47ef173590f99d22b33e2c6261e068b2f66871 (diff)
downloadpcsx_rearmed-02455d0db3002033a703f443a24b7369c0efc6d0.tar.gz
pcsx_rearmed-02455d0db3002033a703f443a24b7369c0efc6d0.tar.bz2
pcsx_rearmed-02455d0db3002033a703f443a24b7369c0efc6d0.zip
gte_neon: make rtps division better match rtpt
otherwise causes Ridge Racer Revolution to lock up somehow?
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/gte_neon.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpcsxcore/gte_neon.s b/libpcsxcore/gte_neon.s
index 0eabb7f..470c3e3 100644
--- a/libpcsxcore/gte_neon.s
+++ b/libpcsxcore/gte_neon.s
@@ -199,6 +199,8 @@ gteRTPS_neon:
@ just for 1 value, let's just use VFP divider here
vdiv.f32 s22, s26, s22
+ vmov.f32 d20, #0.5
+ vadd.f32 d11, d20
vcvt.u32.f32 d11, d11 @ quotient
@ while NEON's busy we calculate some flags on ARM