mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Win32 doesn't like %g in strftime ...
This commit is contained in:
parent
c8161a31d6
commit
74afe7f95b
@ -88,7 +88,7 @@ bool screenshot_dump(const char *folder, const uint16_t *frame,
|
|||||||
time(&cur_time);
|
time(&cur_time);
|
||||||
|
|
||||||
char timefmt[64];
|
char timefmt[64];
|
||||||
strftime(timefmt, sizeof(timefmt), "SSNES-%g%m%d-%H%M%S.bmp", localtime(&cur_time));
|
strftime(timefmt, sizeof(timefmt), "SSNES-%m%d-%H%M%S.bmp", localtime(&cur_time));
|
||||||
|
|
||||||
char filename[256];
|
char filename[256];
|
||||||
strlcpy(filename, folder, sizeof(filename));
|
strlcpy(filename, folder, sizeof(filename));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user