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

@ -50,7 +50,7 @@ bool Pad::DoState(StateWrapper& sw)
m_controllers[i].reset();
if (state_controller_type != ControllerType::None)
m_controllers[i] = Controller::Create(m_system, state_controller_type);
m_controllers[i] = Controller::Create(m_system, state_controller_type, i);
}
if (m_controllers[i])