mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
commit
5aecb345e5
@ -2396,11 +2396,11 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
|
|||||||
runtime_log_convert_usec2hms(libretro_core_runtime_usec, &hours, &minutes, &seconds);
|
runtime_log_convert_usec2hms(libretro_core_runtime_usec, &hours, &minutes, &seconds);
|
||||||
|
|
||||||
n = snprintf(log, sizeof(log),
|
n = snprintf(log, sizeof(log),
|
||||||
"Content ran for a total of: %02u hours, %02u minutes, %02u seconds.\n ",
|
"Content ran for a total of: %02u hours, %02u minutes, %02u seconds.",
|
||||||
hours, minutes, seconds);
|
hours, minutes, seconds);
|
||||||
if ((n < 0) || (n >= PATH_MAX_LENGTH))
|
if ((n < 0) || (n >= PATH_MAX_LENGTH))
|
||||||
n = 0; /* Just silence any potential gcc warnings... */
|
n = 0; /* Just silence any potential gcc warnings... */
|
||||||
RARCH_LOG(log);
|
RARCH_LOG("%s\n",log);
|
||||||
|
|
||||||
/* Only write to file if logging is enabled *and* content has run
|
/* Only write to file if logging is enabled *and* content has run
|
||||||
* for a non-zero length of time */
|
* for a non-zero length of time */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user