mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 13:33:40 +01:00

Previously, the devices vector would be passed to all backends. They would then manually push_back to it to add new devices. This was fine but caused issues when trying to add synchronisation. Instead, backends now call AddDevice() to fill m_devices so that it is not accessible from the outside.