mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core+gp2x+psp, fix handling mid-frame palette changes
This commit is contained in:
parent
d05e2eb3d6
commit
ace184013b
8 changed files with 82 additions and 51 deletions
|
@ -62,12 +62,12 @@
|
|||
.endm
|
||||
|
||||
|
||||
.global bgr444_to_rgb32 @ void *to, void *from
|
||||
.global bgr444_to_rgb32 @ void *to, void *from, unsigned entries
|
||||
|
||||
bgr444_to_rgb32:
|
||||
stmfd sp!, {r4-r7,lr}
|
||||
|
||||
mov r12, #0x40>>3 @ repeats
|
||||
mov r12, r2, lsr #3 @ repeats
|
||||
mov lr, #0x00f00000
|
||||
orr lr, lr, #0x00f0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue