mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Don't destroy the libusb context before freeing the device list.
This commit is contained in:
parent
39c41f5c70
commit
905a663a96
@ -168,10 +168,11 @@ void Setup()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!s_detected)
|
|
||||||
Shutdown();
|
|
||||||
|
|
||||||
libusb_free_device_list(list, 1);
|
libusb_free_device_list(list, 1);
|
||||||
|
|
||||||
|
if (!s_detected)
|
||||||
|
Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user