AnalogController: Show controller number in OSD messages

This commit is contained in:
Connor McLaughlin
2020-05-08 15:32:39 +10:00
parent 95468901f2
commit 9539ce032b
6 changed files with 16 additions and 15 deletions

View File

@ -787,7 +787,7 @@ void System::UpdateControllers()
const ControllerType type = settings.controller_types[i];
if (type != ControllerType::None)
{
std::unique_ptr<Controller> controller = Controller::Create(this, type);
std::unique_ptr<Controller> controller = Controller::Create(this, type, i);
if (controller)
m_pad->SetController(i, std::move(controller));
}