From: notaz Date: Thu, 12 Jul 2012 22:26:50 +0000 (+0300) Subject: gte_neon: make rtps division better match rtpt X-Git-Tag: r15~28 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=02455d0db3002033a703f443a24b7369c0efc6d0;ds=sidebyside gte_neon: make rtps division better match rtpt otherwise causes Ridge Racer Revolution to lock up somehow? --- 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