Skip to content

Commit 77688ce

Browse files
committed
[core] Using PPM format for screenshots
1 parent f84b96a commit 77688ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/gui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void screenshot_callback(void) {
6565
}
6666

6767
do {
68-
snprintf(path, NAME_MAX, "%s/screenshot/ds_scr_%03d.png", root_dir, ++scr_num);
68+
snprintf(path, NAME_MAX, "%s/screenshot/ds_scr_%03d.ppm", root_dir, ++scr_num);
6969
if (!FileExists(path)) {
7070
break;
7171
}
@@ -77,7 +77,7 @@ static void screenshot_callback(void) {
7777

7878
LockVideo();
7979
ds_sfx_play(DS_SFX_SCRSHOT);
80-
dsystemf("screenshot %s png", path);
80+
dsystemf("screenshot %s ppm", path);
8181
UnlockVideo();
8282

8383
last_time = now;

0 commit comments

Comments
 (0)