Migrate force_log_printf to new logging (#714)

This commit is contained in:
why-keith
2023-04-12 15:31:34 +01:00
committed by GitHub
parent 072c18a6e3
commit 4be57f4896
108 changed files with 401 additions and 399 deletions

View File

@@ -70,7 +70,7 @@ void logCPUAndMemoryInfo()
statex.dwLength = sizeof(statex);
GlobalMemoryStatusEx(&statex);
uint32 memoryInMB = (uint32)(statex.ullTotalPhys / 1024LL / 1024LL);
forceLog_printf("RAM: %uMB", memoryInMB);
cemuLog_log(LogType::Force, "RAM: {}MB", memoryInMB);
#elif BOOST_OS_LINUX
struct sysinfo info {};
sysinfo(&info);
@@ -101,7 +101,7 @@ void checkForWine()
if (pwine_get_version)
{
g_running_in_wine = true;
forceLog_printf("Wine version: %s", pwine_get_version());
cemuLog_log(LogType::Force, "Wine version: {}", pwine_get_version());
}
#else
g_running_in_wine = false;