mirror of
https://github.com/libretro/RetroArch
synced 2025-04-04 13:20:15 +00:00
(HID) Fixup
This commit is contained in:
parent
f57132ff6f
commit
f02ef849ae
@ -336,7 +336,7 @@ static void iohidmanager_hid_device_add(void *data, IOReturn result,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
strlcpy(settings->input.device_names[adapter->slot],
|
strlcpy(settings->input.device_names[adapter->slot],
|
||||||
adapter->name, sizeof(settings->input.device_names));
|
adapter->name, sizeof(settings->input.device_names[adapter->slot]));
|
||||||
|
|
||||||
iohidmanager_hid_device_add_autodetect(adapter->slot,
|
iohidmanager_hid_device_add_autodetect(adapter->slot,
|
||||||
adapter->name, iohidmanager_hid.ident, dev_vid, dev_pid);
|
adapter->name, iohidmanager_hid.ident, dev_vid, dev_pid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user