HostInterface: Fix incorrect translation context in CPU mode switch string

This commit is contained in:
Connor McLaughlin 2020-11-02 00:54:49 +10:00
parent 414bc30f24
commit 2b2a868fef
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ void HostInterface::CheckForSettingsChanges(const Settings& old_settings)
{
AddFormattedOSDMessage(
5.0f, TranslateString("OSDMessage", "Switching to %s CPU execution mode."),
TranslateString("OSDMessage", Settings::GetCPUExecutionModeDisplayName(g_settings.cpu_execution_mode))
TranslateString("CPUExecutionMode", Settings::GetCPUExecutionModeDisplayName(g_settings.cpu_execution_mode))
.GetCharArray());
CPU::CodeCache::Reinitialize();
CPU::ClearICache();