summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-14 20:46:16 -0500
committerJune McEnroe <june@causal.agency>2018-02-14 20:46:16 -0500
commit8f1832ee3bce790273029074c30815452a9f47f1 (patch)
treeaea5380ee6abbc8eaa9199db06ece5a266c5536b /bin
parentAdd gfxx 4444 preset (diff)
downloadsrc-8f1832ee3bce790273029074c30815452a9f47f1.tar.gz
src-8f1832ee3bce790273029074c30815452a9f47f1.zip
Print PNG path on gfxx dump
Diffstat (limited to '')
-rw-r--r--bin/gfxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c
index 39cc4c19..50568c0d 100644
--- a/bin/gfxx.c
+++ b/bin/gfxx.c
@@ -335,6 +335,7 @@ static void pngDump(uint32_t *src, size_t srcWidth, size_t srcHeight) {
     snprintf(pngPath, sizeof(pngPath), "%s%04u.png", prefix, counter++);
     png = fopen(pngPath, "wx");
     if (!png) err(EX_CANTCREAT, "%s", pngPath);
+    printf("%s\n", pngPath);
 
     const uint8_t SIGNATURE[] = { 0x89, 'P', 'N', 'G', '\r', '\n', 0x1A, '\n' };
     const uint8_t HEADER[] = { 8, 2, 0, 0, 0 }; // 8-bit RGB