mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
don't uninitialize usb during libsicksaxis shutdown, fixes USB devices crashing on load
This commit is contained in:
parent
7157ff69d5
commit
45e9055a63
@ -39,8 +39,6 @@ static int _ss_set_operational(struct ss_device *dev);
|
|||||||
|
|
||||||
int ss_init(struct ss_device *dev_list, int slots) {
|
int ss_init(struct ss_device *dev_list, int slots) {
|
||||||
if (!_ss_inited) {
|
if (!_ss_inited) {
|
||||||
|
|
||||||
USB_Initialize();
|
|
||||||
_ss_dev_list = dev_list;
|
_ss_dev_list = dev_list;
|
||||||
_slots = slots;
|
_slots = slots;
|
||||||
|
|
||||||
@ -62,7 +60,6 @@ int ss_shutdown() {
|
|||||||
_ss_close(&_ss_dev_list[i]);
|
_ss_close(&_ss_dev_list[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
USB_Deinitialize();
|
|
||||||
_ss_inited = 0;
|
_ss_inited = 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user