changeset 1667:7f74073813c6

Display number of supported C64 image formats in --formats list of 64vw and gfxconv.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 30 May 2018 21:10:57 +0300
parents 94d45136a6fd
children 1741717b1ae5
files tools/64vw.c tools/gfxconv.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/64vw.c	Wed May 30 21:08:34 2018 +0300
+++ b/tools/64vw.c	Wed May 30 21:10:57 2018 +0300
@@ -62,6 +62,7 @@
             dmC64GetImageTypeString(buf, sizeof(buf), fmt->type, FALSE),
             fmt->name);
     }
+    printf("%d formats supported.\n", ndmC64ImageFormats);
 }
 
 
--- a/tools/gfxconv.c	Wed May 30 21:08:34 2018 +0300
+++ b/tools/gfxconv.c	Wed May 30 21:10:57 2018 +0300
@@ -179,6 +179,7 @@
             dmC64GetImageTypeString(buf, sizeof(buf), fmt->type, FALSE),
             fmt->name);
     }
+    printf("%d formats supported.\n", ndmC64ImageFormats);
 }