mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +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);
|
// wiiusb_hotplug_deregister_callback(hid->ctx, hid->hp);
|
||||||
|
|
||||||
USB_Deinitialize();
|
|
||||||
|
|
||||||
if (hid)
|
if (hid)
|
||||||
free(hid);
|
free(hid);
|
||||||
}
|
}
|
||||||
@ -501,8 +499,6 @@ static void *wiiusb_hid_init(void)
|
|||||||
if (!dev_entries)
|
if (!dev_entries)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
USB_Initialize();
|
|
||||||
|
|
||||||
if (USB_GetDeviceList(dev_entries, MAX_USERS, USB_CLASS_HID, &count) < 0)
|
if (USB_GetDeviceList(dev_entries, MAX_USERS, USB_CLASS_HID, &count) < 0)
|
||||||
{
|
{
|
||||||
free(dev_entries);
|
free(dev_entries);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user