changeset 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 2cf79254b8e4
children 6af47b1009ba
files tools/lib64gfx.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Sun Jul 01 04:53:17 2018 +0300
+++ b/tools/lib64gfx.c	Sun Jul 01 06:05:03 2018 +0300
@@ -85,9 +85,13 @@
 
         fprintf(fh,
             "%sWidth x Height      : %d x %d\n"
-            "%sCHwidth x CHheight  : %d x %d\n",
+            "%sCHwidth x CHheight  : %d x %d\n"
+            "%sd020 / border       : %d ($%02x)\n"
+            "%sd021 / background   : %d ($%02x)\n",
             indent, img->fmt->width, img->fmt->height,
-            indent, img->fmt->chWidth, img->fmt->chHeight);
+            indent, img->fmt->chWidth, img->fmt->chHeight,
+            indent, img->d020, img->d020,
+            indent, img->bgcolor, img->bgcolor);
     }
     else
     if (fmt != NULL)