diff options
author | June McEnroe <programble@gmail.com> | 2018-02-14 20:46:16 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-02-14 20:46:16 -0500 |
commit | 2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2 (patch) | |
tree | ca2683df1891fdd26b38b52624cabcfa9ee29e80 | |
parent | Add gfxx 4444 preset (diff) | |
download | src-2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2.tar.gz src-2675e1b83491c6b3bd24ce6d7c99703c1fd8a6b2.zip |
Print PNG path on gfxx dump
-rw-r--r-- | bin/gfxx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gfxx.c b/bin/gfxx.c index 9eae971d..674b68c9 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 |