Fix color depack algo

This commit is contained in:
Thomas Bernard 2019-12-31 20:01:52 +01:00
parent d7451d6d6e
commit 22d98caa5b
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

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