ControllerInterface: Add synchronisation

Since we may have to add/access devices from different threads, this
adds synchronisation to anything that touches m_devices.
This commit is contained in:
Léo Lam 2016-06-12 17:31:41 +02:00
parent fd29e5c4cc
commit d3e2ae35ff
3 changed files with 7 additions and 0 deletions
Source/Core/InputCommon/ControllerInterface

View file

@ -6,6 +6,7 @@
#include <algorithm>
#include <map>
#include <mutex>
#include <sstream>
#include <string>
#include <vector>