Mercurial > hg > dmlib
comparison tools/lib64gfx.c @ 1981:02b216fae7d5
Add d020/d021 bgcolor to dmC64ImageDump() printout.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Jul 2018 06:05:03 +0300 |
parents | f8e2728c1b7f |
children | e7f2ddaf94a6 |
comparison
equal
deleted
inserted
replaced
1980:2cf79254b8e4 | 1981:02b216fae7d5 |
---|---|
83 indent, tmps); | 83 indent, tmps); |
84 } | 84 } |
85 | 85 |
86 fprintf(fh, | 86 fprintf(fh, |
87 "%sWidth x Height : %d x %d\n" | 87 "%sWidth x Height : %d x %d\n" |
88 "%sCHwidth x CHheight : %d x %d\n", | 88 "%sCHwidth x CHheight : %d x %d\n" |
89 "%sd020 / border : %d ($%02x)\n" | |
90 "%sd021 / background : %d ($%02x)\n", | |
89 indent, img->fmt->width, img->fmt->height, | 91 indent, img->fmt->width, img->fmt->height, |
90 indent, img->fmt->chWidth, img->fmt->chHeight); | 92 indent, img->fmt->chWidth, img->fmt->chHeight, |
93 indent, img->d020, img->d020, | |
94 indent, img->bgcolor, img->bgcolor); | |
91 } | 95 } |
92 else | 96 else |
93 if (fmt != NULL) | 97 if (fmt != NULL) |
94 { | 98 { |
95 dmC64GetImageTypeString(typeStr, sizeof(typeStr), fmt->format->type, TRUE); | 99 dmC64GetImageTypeString(typeStr, sizeof(typeStr), fmt->format->type, TRUE); |