Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
1758:8014e4cbebfe | 1759:027fb7313d85 |
---|---|
57 ); | 57 ); |
58 for (int i = 0; i < ndmC64ImageFormats; i++) | 58 for (int i = 0; i < ndmC64ImageFormats; i++) |
59 { | 59 { |
60 const DMC64ImageFormat *fmt = &dmC64ImageFormats[i]; | 60 const DMC64ImageFormat *fmt = &dmC64ImageFormats[i]; |
61 char buf[64]; | 61 char buf[64]; |
62 printf("%-6s| %-15s | %s\n", | 62 printf("%-6s| %-15s | %s%s\n", |
63 fmt->fext, | 63 fmt->fext, |
64 dmC64GetImageTypeString(buf, sizeof(buf), fmt->type, FALSE), | 64 dmC64GetImageTypeString(buf, sizeof(buf), fmt->type, FALSE), |
65 fmt->name); | 65 fmt->name, |
66 fmt->flags & DM_FMT_BROKEN ? " [BROKEN]" : ""); | |
66 } | 67 } |
67 printf("%d formats supported.\n", ndmC64ImageFormats); | 68 printf("%d formats supported.\n", ndmC64ImageFormats); |
68 } | 69 } |
69 | 70 |
70 | 71 |