diff options
| author | JosJuice <josjuice@gmail.com> | 2021-12-09 22:20:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-09 22:20:55 +0100 |
| commit | e0a61ed9a0e00eec7e1e30b3df1499f90b6dd3b7 (patch) | |
| tree | 0ac8e4103ced709c92d93db22a2dad850cc0b64f /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | d5d21c6533ff2709b9cdf357b0569f3418264812 (diff) | |
| parent | 125971d9f2cbfff81985610a750364a54c3d452d (diff) | |
Merge pull request #10248 from Filoppi/fix_input_config_default_device_load
Fix default input config default device not being loaded/found
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index aaaa3971e6..1c4dc71da8 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -159,6 +159,10 @@ void ControllerInterface::RefreshDevices(RefreshReason reason) // with their own PlatformPopulateDevices(). // This means that devices might end up in different order, unless we override their priority. // It also means they might appear as "disconnected" in the Qt UI for a tiny bit of time. + // This helps the emulation and host thread to not stall when repopulating devices for any reason. + // Every platform that adds a device that is meant to be used as default device should try to not + // do it async, to not risk the emulated controllers default config loading not finding a default + // device. #ifdef CIFACE_USE_WIN32 ciface::Win32::PopulateDevices(m_wsi.render_window); |
