Switch some messages to the OSD and increase durations

This commit is contained in:
Connor McLaughlin
2020-08-15 23:39:46 +10:00
parent 810b359234
commit f5fb8186c7
5 changed files with 23 additions and 19 deletions

View File

@ -1237,7 +1237,7 @@ void CommonHostInterface::RegisterGeneralHotkeys()
{
m_speed_limiter_temp_disabled = !m_speed_limiter_temp_disabled;
UpdateSpeedLimiterState();
AddFormattedOSDMessage(1.0f, "Speed limiter %s.",
AddFormattedOSDMessage(2.0f, "Speed limiter %s.",
m_speed_limiter_enabled ? "enabled" : "disabled");
}
});
@ -1303,7 +1303,7 @@ void CommonHostInterface::RegisterGraphicsHotkeys()
{
g_settings.gpu_pgxp_enable = !g_settings.gpu_pgxp_enable;
g_gpu->UpdateSettings();
ReportFormattedMessage("PGXP is now %s.", g_settings.gpu_pgxp_enable ? "enabled" : "disabled");
AddFormattedOSDMessage(5.0f, "PGXP is now %s.", g_settings.gpu_pgxp_enable ? "enabled" : "disabled");
if (g_settings.gpu_pgxp_enable)
PGXP::Initialize();