mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
display-cg: fix a bug in bopti r5g6b6 for very thin images
This commit is contained in:
parent
7b40e1e0d0
commit
a9f6c4b622
1 changed files with 3 additions and 1 deletions
|
@ -66,6 +66,8 @@ _bopti_r5g6b5:
|
||||||
add r3, r5
|
add r3, r5
|
||||||
|
|
||||||
mov r6, r10
|
mov r6, r10
|
||||||
|
tst r6, r6
|
||||||
|
bt .r5g6b5_y_end
|
||||||
|
|
||||||
.r5g6b5_x:
|
.r5g6b5_x:
|
||||||
# Copy longwords
|
# Copy longwords
|
||||||
|
@ -76,7 +78,7 @@ _bopti_r5g6b5:
|
||||||
bf.s .r5g6b5_x
|
bf.s .r5g6b5_x
|
||||||
add #4, r5
|
add #4, r5
|
||||||
|
|
||||||
# -
|
.r5g6b5_y_end:
|
||||||
|
|
||||||
add r8, r4
|
add r8, r4
|
||||||
dt r7
|
dt r7
|
||||||
|
|
Loading…
Reference in a new issue