Skip to content
Permalink
Browse files

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.
  • Loading branch information...
lioncash committed Jul 29, 2019
1 parent 3f947f0 commit c93fffaed62b6c64bfd6ce306aa85765e9df961f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}
};

0 comments on commit c93fffa

Please sign in to comment.
You can’t perform that action at this time.