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)
; high nibble is count
colordepack:
dex
;dex
colordepacklp:
jsr readbyte
colordepacklp2:
@@ -141,7 +141,7 @@ colordepacklp2:
dex
bpl +
rts
* cld
* clc
adc #$10
bcs colordepacklp
bcc colordepacklp2