From c92e039ede56bd75a99fa21f362f8fa1a93e5707 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.5