From 02455d0db3002033a703f443a24b7369c0efc6d0 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 13 Jul 2012 01:26:50 +0300 Subject: [PATCH] gte_neon: make rtps division better match rtpt otherwise causes Ridge Racer Revolution to lock up somehow? --- libpcsxcore/gte_neon.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpcsxcore/gte_neon.s b/libpcsxcore/gte_neon.s index 0eabb7fd..470c3e35 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 -- 2.39.5