25fa73c13a16 — Laurens Holst 5 years ago
PNG: Ensure ProcessPLTEChunk returns no carry.
1 files changed, 1 insertions(+), 0 deletions(-)

M src/PNG.asm
M src/PNG.asm +1 -0
@@ 572,6 572,7 @@ PNG_ProcessPLTEChunk:
 	ld (ix + PNG.palette),e
 	ld (ix + PNG.palette + 1),d
 	call Reader_ReadBlock_IY
+	and a
 	ret
 
 ; dehl = name