dolphin/Source/Core
mathieui 8e556603af Fix issues with the GC adapter handling code
If we successfully detach the kernel driver from the interface, we
should continue instead of aborting the setup.

And we should not use libusb_handle_events(), as the API says it is only
for backwards compatibility. Additionally, if the adapter thread is not
active, dolphin will take 60 seconds to close because the
libusb_handle_events() timeout is hardcoded to 60 seconds. Instead, use
libusb_handle_events_timeout_completed() with a timeout of 1 second.
Also, cancel the libusb transfers before the join(), to be able to close
the usb device without libusb screaming in the background (and
potentially crashing).

And finally, split the Init() and Shutdown() functions to avoid having
to init and exit libusb every time we neeed to detect the adapter.
2015-02-05 10:03:21 +01:00
..
AudioCommon Merge pull request #1917 from adamdmoss/no-lfe 2015-01-23 12:30:48 +11:00
Common Fix clang on x86_64. 2015-01-29 01:55:20 -06:00
Core Fix issues with the GC adapter handling code 2015-02-05 10:03:21 +01:00
DiscIO Merge pull request #1869 from Stevoisiak/GeneralConsistency 2015-01-21 13:46:53 -06:00
DolphinQt Revert "Merge pull request #1903 from RisingFog/libav" 2015-01-26 02:35:29 +01:00
DolphinWX Merge pull request #1948 from magumagu/remove-efb-cache 2015-01-27 09:42:15 +01:00
InputCommon Merge pull request #1923 from Sonicadvance1/remove_sdl_assumption 2015-01-21 13:29:39 -06:00
UICommon PostProcessing: Add support for user-supplied anaglyph shaders. 2015-01-25 22:07:03 +01:00
VideoBackends Silence -Wunused-variable warning. 2015-01-28 18:09:07 +00:00
VideoCommon JitRegister: overload Register with a [start,end) variant 2015-01-28 09:50:19 +01:00
CMakeLists.txt