mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 08:19:17 +01:00
Only write npad controllerInfo entry on the HID thread if it is valid
This commit is contained in:
parent
b5446846f7
commit
a015fe753d
@ -245,6 +245,7 @@ namespace skyline::input {
|
||||
if (!connectionState.connected)
|
||||
return;
|
||||
|
||||
if (controllerInfo)
|
||||
WriteNextEntry(*controllerInfo, controllerState);
|
||||
WriteNextEntry(section.defaultController, defaultState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user