From dcb2e057c41c8324afc9cd83e45c2c9ca350e42f Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 9 Aug 2022 20:42:39 +0300 Subject: [PATCH] cspace: add forgotten length decrement --- frontend/cspace_neon.S | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2