AnalogController: Fix incorrect locked message format

pull/2948/head
Stenzek 2 years ago
parent c66ae535ca
commit c8e7922c1a

@ -312,8 +312,8 @@ void AnalogController::ProcessAnalogModeToggle()
Host::AddIconOSDMessage(
fmt::format("Controller{}AnalogMode", m_index), ICON_FA_GAMEPAD,
fmt::format((m_analog_mode ?
Host::TranslateString("AnalogController", "Controller %u is locked to analog mode by the game.") :
Host::TranslateString("AnalogController", "Controller %u is locked to digital mode by the game."))
Host::TranslateString("AnalogController", "Controller {} is locked to analog mode by the game.") :
Host::TranslateString("AnalogController", "Controller {} is locked to digital mode by the game."))
.GetCharArray(),
m_index + 1u),
5.0f);

Loading…
Cancel
Save