Fix color depack algo

This commit is contained in:
Thomas Bernard
2019-12-31 20:01:52 +01:00
parent d7451d6d6e
commit 22d98caa5b

View File

@@ -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