Mercurial > repos > blastem
comparison render_sdl.c @ 1851:419b458f93cd
Demote screenshot message to debug level so that a popup is not spawned when saving a screenshot
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 23 Apr 2019 23:37:15 -0700 |
parents | 78abbabfd58d |
children | bdca98187c9f |
comparison
equal
deleted
inserted
replaced
1850:30f2821ffd65 | 1851:419b458f93cd |
---|---|
1591 screenshot_file = fopen(screenshot_path, "wb"); | 1591 screenshot_file = fopen(screenshot_path, "wb"); |
1592 if (screenshot_file) { | 1592 if (screenshot_file) { |
1593 #ifndef DISABLE_ZLIB | 1593 #ifndef DISABLE_ZLIB |
1594 ext = path_extension(screenshot_path); | 1594 ext = path_extension(screenshot_path); |
1595 #endif | 1595 #endif |
1596 info_message("Saving screenshot to %s\n", screenshot_path); | 1596 debug_message("Saving screenshot to %s\n", screenshot_path); |
1597 } else { | 1597 } else { |
1598 warning("Failed to open screenshot file %s for writing\n", screenshot_path); | 1598 warning("Failed to open screenshot file %s for writing\n", screenshot_path); |
1599 } | 1599 } |
1600 free(screenshot_path); | 1600 free(screenshot_path); |
1601 screenshot_path = NULL; | 1601 screenshot_path = NULL; |