From: notaz Date: Tue, 9 Aug 2022 17:42:39 +0000 (+0300) Subject: cspace: add forgotten length decrement X-Git-Tag: r24l~427 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c92e039ede56bd75a99fa21f362f8fa1a93e5707;p=pcsx_rearmed.git cspace: add forgotten length decrement --- diff --git a/frontend/cspace_neon.S b/frontend/cspace_neon.S index 651ab842..4928b44a 100644 --- a/frontend/cspace_neon.S +++ b/frontend/cspace_neon.S @@ -27,6 +27,7 @@ FUNCTION(bgr555_to_rgb565): @ dst, src, bytes beq 0f @ align the dst vld1.16 {d0}, [r1]! + sub r2, r2, #8 vshl.u16 d0, d0, #1 vshl.u16 d1, d0, #10 vsri.u16 d1, d0, #11