save-overlays: change list entry contents.

There's no need to tell the user that the entry is for game xy, they are already playing that game.
On a real PS3 only the subtitle and the date are displayed.
This commit is contained in:
Megamouse 2021-04-24 14:46:16 +02:00
parent 11f57f259c
commit 5720a32bc5
2 changed files with 17 additions and 2 deletions

View file

@ -17,6 +17,20 @@ namespace date_time
return buf;
}
static inline std::string fmt_time(const char* fmt, const s64 time)
{
tm buf;
time_t t = time;
#ifdef _MSC_VER
localtime_s(&buf, &t);
#else
buf = *localtime(&t);
#endif
char str[80];
strftime(str, sizeof(str), fmt, &buf);
return str;
}
static inline std::string current_time()
{
char str[80];