# HG changeset patch # User Matti Hamalainen # Date 1526001827 -10800 # Node ID 06a9c16601d69f2ebc31af4f4d1227592c8200de # Parent a0166c4050be18a3d5237b21f619ee52f7863bf8 Oops. Fix dmC64EncodeBMP() to add loading address to total data size. diff -r a0166c4050be -r 06a9c16601d6 tools/lib64gfx.c --- 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;