diff --git a/Common/LogManager.cpp b/Common/LogManager.cpp index cc3c6bf884..f7b59b8447 100644 --- a/Common/LogManager.cpp +++ b/Common/LogManager.cpp @@ -234,7 +234,7 @@ void LogManager::Log(LogLevel level, LogType type, const char *file, int line, c file = fileshort + 1; } - GetTimeFormatted(message.timestamp); + GetCurrentTimeFormatted(message.timestamp); if (hleCurrentThreadName) { snprintf(message.header, sizeof(message.header), "%-12.12s %c[%s]: %s:%d", diff --git a/Common/TimeUtil.cpp b/Common/TimeUtil.cpp index b24a1da4e3..74a387ab31 100644 --- a/Common/TimeUtil.cpp +++ b/Common/TimeUtil.cpp @@ -180,7 +180,7 @@ void sleep_ms(int ms) { // Return the current time formatted as Minutes:Seconds:Milliseconds // in the form 00:00:000. -void GetTimeFormatted(char formattedTime[13]) { +void GetCurrentTimeFormatted(char formattedTime[13]) { time_t sysTime; time(&sysTime); diff --git a/Common/TimeUtil.h b/Common/TimeUtil.h index 779ba07d21..94a5971e6a 100644 --- a/Common/TimeUtil.h +++ b/Common/TimeUtil.h @@ -22,7 +22,7 @@ void sleep_ms(int ms); // Yield. Signals that this thread is busy-waiting but wants to allow other hyperthreads to run. void yield(); -void GetTimeFormatted(char formattedTime[13]); +void GetCurrentTimeFormatted(char formattedTime[13]); // Rust-style Instant for clear and easy timing. class Instant {