Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 2521:b19535da15e9
Add new field 'size_t extra' to DMC64ImageFormat for certain image format data
for which size field was previously abused for.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 15 May 2020 03:06:48 +0300 |
parents | 4e7d9fd9b7e4 |
children | c6ee41fd98dd |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri May 15 02:55:31 2020 +0300 +++ b/tools/lib64gfx.h Fri May 15 03:06:48 2020 +0300 @@ -299,6 +299,7 @@ ssize_t addr; // Loading address ( -2 if no loading address, -1 if loading address not known) size_t size; // Size, including loading address. Only used in probing and encoding. + size_t extra; // Extra data used for some formats int flags; // DM_FMT_* flags (read/write/broken/etc.), see libgfx.h