From 3f55bafdeddd9893760c2e165756c7bbc575b027 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 4 May 2023 23:01:09 +0100 Subject: Make index zero any RGB value not found in the palette Mask TBD --- tr8as.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tr8as.c') diff --git a/tr8as.c b/tr8as.c index c9bd816..ab471e5 100644 --- a/tr8as.c +++ b/tr8as.c @@ -501,7 +501,7 @@ static uint8_t parse_incpng(As *as, char *c) break; } if (index == 16) - addr++; + as->out[addr++] = 0; } as->addr = addr; -- cgit v1.2.3