notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fefaef
)
core, fix interlace in arm assembly
author
kub
<derkub@gmail.com>
Thu, 3 Apr 2025 19:08:07 +0000
(21:08 +0200)
committer
kub
<derkub@gmail.com>
Thu, 3 Apr 2025 19:08:07 +0000
(21:08 +0200)
pico/draw_arm.S
patch
|
blob
|
blame
|
history
diff --git
a/pico/draw_arm.S
b/pico/draw_arm.S
index
d3f456e
..
73ee07f
100644
(file)
--- a/
pico/draw_arm.S
+++ b/
pico/draw_arm.S
@@
-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