forked from dolphin-emu/dolphin
d3e2ae35ff
Since we may have to add/access devices from different threads, this adds synchronisation to anything that touches m_devices.