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;