Fix color depack algo
This commit is contained in:
parent
d7451d6d6e
commit
22d98caa5b
@ -131,7 +131,7 @@ colorrestore:
|
|||||||
; special color RAM compression (only low nibble matters)
|
; special color RAM compression (only low nibble matters)
|
||||||
; high nibble is count
|
; high nibble is count
|
||||||
colordepack:
|
colordepack:
|
||||||
dex
|
;dex
|
||||||
colordepacklp:
|
colordepacklp:
|
||||||
jsr readbyte
|
jsr readbyte
|
||||||
colordepacklp2:
|
colordepacklp2:
|
||||||
@ -141,7 +141,7 @@ colordepacklp2:
|
|||||||
dex
|
dex
|
||||||
bpl +
|
bpl +
|
||||||
rts
|
rts
|
||||||
* cld
|
* clc
|
||||||
adc #$10
|
adc #$10
|
||||||
bcs colordepacklp
|
bcs colordepacklp
|
||||||
bcc colordepacklp2
|
bcc colordepacklp2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user