From a26e6639571314e95c8c4cdfb506a3c87ac0be32 Mon Sep 17 00:00:00 2001 From: kub Date: Thu, 23 Feb 2023 22:12:57 +0000 Subject: [PATCH] core, fix arm rendering regression after 8 bit changes --- pico/draw_arm.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pico/draw_arm.S b/pico/draw_arm.S index 962811ea..63687b83 100644 --- a/pico/draw_arm.S +++ b/pico/draw_arm.S @@ -1655,13 +1655,13 @@ FinalizeLine555: ldr r2, [r8, #OFS_Pico_m_hardware] add r1, r1, #8 + tst r7, #0x20 @ GG ? + tstne r2, #0x2 @ LCD ? + bne .fl_gg20col + tst r7, #0x10 @ SMS ? beq .fl_noSMS - and r7, r2, #0x3 - cmp r7, #0x3 @ Game Gear, LCD? - beq .fl_gg20col - tst r6, #0x20 movne r2, #248/8 @ len = 248 addne r1, r1, #8 @ ps += 8 -- 2.39.2