From a63b300686741c146ec65c8bba7fb33f80593046 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Fri, 27 Oct 2023 09:58:24 +0200 Subject: [PATCH] =?UTF-8?q?WIP:=20=20C=20O=20H=20=C3=89=20R=20E=20N=20C=20?= =?UTF-8?q?E=20=20=20E=20N=20F=20I=20N=20=20.=20=20(see=20line=20906:=20ma?= =?UTF-8?q?ke=20address=20values=20vary=20fron=200=20to=203=20and=20enjoy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index de00fdd..f7eabfc 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -905,8 +905,8 @@ void __attribute__((optimize("no-unroll-loops"))) main_test_graphics (void) int address = 0; if (1) printf("buffer_lines_0_arrow = %d address = %d buffer_lines_size = %d >>>", buffer_lines_0_arrow, address, buffer_lines_size); - buffer_lines_origin [(long) buffer_lines_0_arrow + address * 2 + 1] = buffer_lines_origin[(long) buffer_lines_size - 3]; - buffer_lines_origin [(long) buffer_lines_0_arrow + address * 2 + 2] = buffer_lines_origin[(long) buffer_lines_size - 2]; + buffer_lines_origin [(long) buffer_lines_0_arrow + address * 2 + 0] = buffer_lines_origin[(long) buffer_lines_size - 2]; + buffer_lines_origin [(long) buffer_lines_0_arrow + address * 2 + 1] = buffer_lines_origin[(long) buffer_lines_size - 1]; buffer_lines_size -= 2;