core, fix interlace in arm assembly
authorkub <derkub@gmail.com>
Thu, 3 Apr 2025 19:08:07 +0000 (21:08 +0200)
committerkub <derkub@gmail.com>
Thu, 3 Apr 2025 19:08:07 +0000 (21:08 +0200)
pico/draw_arm.S

index d3f456e..73ee07f 100644 (file)
@@ -836,7 +836,9 @@ DrawLayer:
 \r
     mov     r0, sp\r
     mov     r1, r9, lsr #29\r
-    bl      DrawStripInterlace @ struct TileStrip *ts, int plane_sh\r
+    mov     r2, r9, lsr #8\r
+    and     r2, r2, #0xff\r
+    bl      DrawStripInterlace @ struct TileStrip *ts, int plane_sh, int cellskip\r
 \r
     add     sp, sp, #6*4\r
     ldmfd   sp!, {r4-r11,pc}\r