mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
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:
parent
11f57f259c
commit
5720a32bc5
2 changed files with 17 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue