core, fix arm asm regression (bg color DMA crash)
authorkub <derkub@gmail.com>
Wed, 21 Feb 2024 18:10:44 +0000 (19:10 +0100)
committerkub <derkub@gmail.com>
Wed, 21 Feb 2024 18:10:44 +0000 (19:10 +0100)
pico/draw_arm.S

index 2b1b2e4..c01439a 100644 (file)
@@ -1631,7 +1631,7 @@ PicoDoHighPal555_end:
 .global FinalizeLine555\r
 \r
 FinalizeLine555:\r
-    ldr     r3, [r11, #OFS_EST_rendstatus]\r
+    ldr     r3, [r2, #OFS_EST_rendstatus]\r
     mov     r0, r2\r
     tst     r3, #PDRAW_BGC_DMA\r
     bne     BgcDMA\r