diff tools/lib64gfx.c @ 1485:06a9c16601d6

Oops. Fix dmC64EncodeBMP() to add loading address to total data size.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 May 2018 04:23:47 +0300
parents 1e7f7489d3e0
children bc13af8954d7
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri May 11 04:21:34 2018 +0300
+++ b/tools/lib64gfx.c	Fri May 11 04:23:47 2018 +0300
@@ -1823,6 +1823,7 @@
 
     buf->data[0] = DM_GET_ADDR_LO(fmt->addr);
     buf->data[1] = DM_GET_ADDR_HI(fmt->addr);
+    buf->len += 2;
 
     return DMERR_OK;