Mercurial > hg > dmlib
changeset 2369:2dfb448a7ff5
Copy certain DMC64Image::extraInfo fields in dmConvertC64Bitmap() to the destination image.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 07 Jan 2020 17:42:40 +0200 |
parents | 4cd67faadbd3 |
children | 6f2675365314 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Tue Jan 07 17:40:26 2020 +0200 +++ b/tools/gfxconv.c Tue Jan 07 17:42:40 2020 +0200 @@ -1272,6 +1272,10 @@ dst->d023 = src->d023; dst->d024 = src->d024; + // And some extraInfo fields .. + dst->extraInfo[D64_EI_CHAR_CASE] = src->extraInfo[D64_EI_CHAR_CASE]; + dst->extraInfo[D64_EI_CHAR_CUSTOM] = src->extraInfo[D64_EI_CHAR_CUSTOM]; + // Try to do some simple fixups if ((dst->extraInfo[D64_EI_MODE] & D64_FMT_MODE_MASK) == D64_FMT_MC && (src->extraInfo[D64_EI_MODE] & D64_FMT_MODE_MASK) == D64_FMT_HIRES)