mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #2239 from mickdermack/pr-usbshu
GCAdapter: Don't destroy the libusb context before freeing the device list.
This commit is contained in:
@@ -168,10 +168,11 @@ void Setup()
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!s_detected)
|
||||
Shutdown();
|
||||
|
||||
libusb_free_device_list(list, 1);
|
||||
|
||||
if (!s_detected)
|
||||
Shutdown();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user