Mercurial > hg > dmlib
diff tools/64vw.c @ 1759:027fb7313d85
Add a format flag for marking formats that have broken/incomplete support and use it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 11 Jun 2018 18:09:00 +0300 |
parents | 5e928618fdc8 |
children | b940b72d1b4d |
line wrap: on
line diff
--- a/tools/64vw.c Mon Jun 11 17:58:44 2018 +0300 +++ b/tools/64vw.c Mon Jun 11 18:09:00 2018 +0300 @@ -59,10 +59,11 @@ { const DMC64ImageFormat *fmt = &dmC64ImageFormats[i]; char buf[64]; - printf("%-6s| %-15s | %s\n", + printf("%-6s| %-15s | %s%s\n", fmt->fext, dmC64GetImageTypeString(buf, sizeof(buf), fmt->type, FALSE), - fmt->name); + fmt->name, + fmt->flags & DM_FMT_BROKEN ? " [BROKEN]" : ""); } printf("%d formats supported.\n", ndmC64ImageFormats); }