AnalogController: Fix incorrect locked message format

This commit is contained in:
Stenzek 2023-01-30 22:45:38 +10:00
parent c66ae535ca
commit c8e7922c1a
1 changed files with 2 additions and 2 deletions

View File

@ -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);