mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-07 18:00:34 -05: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.