From c93fffaed62b6c64bfd6ce306aa85765e9df961f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 28 Jul 2019 23:16:20 -0400 Subject: [PATCH] DolphinQt/HotkeyScheduler: Correct string within Run() AddMessage() by itself doesn't perform string formatting facilities, so this message was actually using the EFB scale as a duration value, not a format argument. This corrects that. --- Source/Core/DolphinQt/HotkeyScheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp index e43d66c803..1fa4919ec7 100644 --- a/Source/Core/DolphinQt/HotkeyScheduler.cpp +++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp @@ -337,7 +337,7 @@ void HotkeyScheduler::Run() OSD::AddMessage("Internal Resolution: Native"); break; default: - OSD::AddMessage("Internal Resolution: %dx", g_Config.iEFBScale); + OSD::AddMessage(StringFromFormat("Internal Resolution: %dx", g_Config.iEFBScale)); break; } };