Misc: Replace log printf calls with fmt

This commit is contained in:
Stenzek
2024-05-23 20:20:16 +10:00
parent 49b2e76dea
commit b6d019db66
117 changed files with 1585 additions and 1615 deletions

View File

@ -32,7 +32,7 @@ static bool SetScreensaverInhibitMacOS(bool inhibit)
if (IOPMAssertionCreateWithName(kIOPMAssertionTypePreventUserIdleDisplaySleep, kIOPMAssertionLevelOn, reason,
&s_prevent_idle_assertion) != kIOReturnSuccess)
{
Log_ErrorPrintf("IOPMAssertionCreateWithName() failed");
Log_ErrorPrint("IOPMAssertionCreateWithName() failed");
return false;
}
@ -54,7 +54,7 @@ void PlatformMisc::SuspendScreensaver()
if (!SetScreensaverInhibitMacOS(true))
{
Log_ErrorPrintf("Failed to suspend screensaver.");
Log_ErrorPrint("Failed to suspend screensaver.");
return;
}