libretro: Fix DualShock analog mode auto-enable

This commit is contained in:
Connor McLaughlin
2020-07-05 00:05:14 +10:00
parent c76bb5eb6a
commit b0b3901722
4 changed files with 14 additions and 2 deletions

View File

@ -850,6 +850,16 @@ void System::UpdateControllerSettings()
}
}
void System::ResetControllers()
{
for (u32 i = 0; i < NUM_CONTROLLER_AND_CARD_PORTS; i++)
{
Controller* controller = m_pad->GetController(i);
if (controller)
controller->Reset();
}
}
void System::UpdateMemoryCards()
{
const Settings& settings = m_host_interface->GetSettings();