mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 00:22:31 +00:00
Remove USB_Initialize/USB_Deinitialize from wiiusb_hid.c
This commit is contained in:
parent
89724c541d
commit
61a40be54d
@ -472,8 +472,6 @@ static void wiiusb_hid_free(void *data)
|
||||
|
||||
// wiiusb_hotplug_deregister_callback(hid->ctx, hid->hp);
|
||||
|
||||
USB_Deinitialize();
|
||||
|
||||
if (hid)
|
||||
free(hid);
|
||||
}
|
||||
@ -501,8 +499,6 @@ static void *wiiusb_hid_init(void)
|
||||
if (!dev_entries)
|
||||
goto error;
|
||||
|
||||
USB_Initialize();
|
||||
|
||||
if (USB_GetDeviceList(dev_entries, MAX_USERS, USB_CLASS_HID, &count) < 0)
|
||||
{
|
||||
free(dev_entries);
|
||||
|
Loading…
x
Reference in New Issue
Block a user