This commit is contained in:
Henrik Rydgård 2024-06-05 10:28:49 +02:00
parent 80406f816d
commit 3e26866f76
3 changed files with 3 additions and 3 deletions

View file

@ -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",

View file

@ -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);

View file

@ -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 {