From 2b2a868fef0a9f6aa330814bd4c980117945b709 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 2 Nov 2020 00:54:49 +1000 Subject: [PATCH] HostInterface: Fix incorrect translation context in CPU mode switch string --- src/core/host_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 9f04498f1..c08936ce5 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -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();