diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-04 23:01:09 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-04 23:01:09 +0100 |
commit | 3f55bafdeddd9893760c2e165756c7bbc575b027 (patch) | |
tree | e626f7ffe2367b5271a0693afdab750dd1fc5ba9 /tr8as.c | |
parent | bdbb811ac1a60920f87a5640f2f68e7f349fe2c0 (diff) | |
download | tr8vm-3f55bafdeddd9893760c2e165756c7bbc575b027.tar.gz tr8vm-3f55bafdeddd9893760c2e165756c7bbc575b027.zip |
Make index zero any RGB value not found in the palette
Mask TBD
Diffstat (limited to 'tr8as.c')
-rw-r--r-- | tr8as.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |