mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-07-07 04:56:37 +02:00
render-cg: fix negative alpha values being miscompared in P8
This commit is contained in:
parent
667f43b45c
commit
d2f788a3fc
2 changed files with 8 additions and 2 deletions
|
@ -79,6 +79,9 @@
|
||||||
nop
|
nop
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
exts.b r8, r8
|
||||||
|
nop
|
||||||
|
|
||||||
START
|
START
|
||||||
|
|
||||||
mov.b @r3+, \TMP2
|
mov.b @r3+, \TMP2
|
||||||
|
|
|
@ -56,10 +56,13 @@
|
||||||
nop
|
nop
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
mov.w @(2,r8), r0 /* cmd.color_2 (dye value) */
|
mov.w @r8+, r11 /* cmd.color_1 ≤ 255, thus zero-extended */
|
||||||
nop
|
nop
|
||||||
|
|
||||||
mov.w @r8, r8 /* cmd.color_1 ≤ 255, thus zero-extended */
|
mov.w @r8+, r0 /* cmd.color_2 (dye value) */
|
||||||
|
nop
|
||||||
|
|
||||||
|
exts.b r11, r8
|
||||||
mov #0, r11
|
mov #0, r11
|
||||||
|
|
||||||
START
|
START
|
||||||
|
|
Loading…
Add table
Reference in a new issue