Skip to content

Commit a69d9bc

Browse files
committed
Reformat save new config name
1 parent f7390e2 commit a69d9bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libretro-common/file/file_path.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,11 +538,11 @@ size_t fill_pathname_parent_dir(char *s,
538538
* @ext : extension of output filename
539539
* @len : buffer size of output filename
540540
*
541-
* Creates a 'dated' filename prefixed by 'RetroArch', and
541+
* Creates a 'dated' filename prefixed by 'retroarch', and
542542
* concatenates extension (@ext) to it.
543543
*
544544
* E.g.:
545-
* s = "RetroArch-{month}{day}-{Hours}{Minutes}.{@ext}"
545+
* s = "retroarch-{year}{month}{day}-{Hour}{Minute}{Second}.{@ext}"
546546
**/
547547
size_t fill_dated_filename(char *s,
548548
const char *ext, size_t len)
@@ -552,7 +552,7 @@ size_t fill_dated_filename(char *s,
552552
time_t cur_time = time(NULL);
553553
rtime_localtime(&cur_time, &tm_);
554554
_len = strftime(s, len,
555-
"RetroArch-%m%d-%H%M%S", &tm_);
555+
"retroarch-%y%m%d-%H%M%S", &tm_);
556556
_len += strlcpy(s + _len, ext, len - _len);
557557
return _len;
558558
}

0 commit comments

Comments
 (0)