changeset 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 a0166c4050be
children bc13af8954d7
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;