From: notaz Date: Tue, 9 Aug 2022 17:42:39 +0000 (+0300) Subject: cspace: add forgotten length decrement X-Git-Tag: r24~345 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcb2e057c41c8324afc9cd83e45c2c9ca350e42f;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