mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-27 06:19:38 -06:00
In UpdateInput, lock m_devices_population_mutex before m_devices_mutex to be consistent with other ControllerInterface functions. Normally the former lock isn't needed in UpdateInput, but when a Wii Remote disconnects it calls RemoveDevice which results in the mutexes being locked in the wrong order.