From: kub Date: Thu, 23 Feb 2023 22:12:57 +0000 (+0000) Subject: core, fix arm rendering regression after 8 bit changes X-Git-Tag: v2.00~250 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26e6639571314e95c8c4cdfb506a3c87ac0be32;p=picodrive.git core, fix arm rendering regression after 8 bit changes --- 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