Skip to content

Commit

Permalink
Merge pull request #2682 from AdmiralCurtiss/libusb-fix-win-crash-wit…
Browse files Browse the repository at this point in the history
…hout-drivers

GC Adapter: Do not attempt to claim_interface when libusb_open() fails.
  • Loading branch information
CrossVR committed Jul 1, 2015
2 parents e992104 + 08b952e commit bee7f19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/HW/SI_GCAdapter.cpp
Expand Up @@ -235,6 +235,7 @@ static bool CheckDeviceAccess(libusb_device* device)
if (ret == LIBUSB_ERROR_NOT_SUPPORTED)
s_libusb_driver_not_supported = true;
}
return false;
}
else if ((ret = libusb_kernel_driver_active(s_handle, 0)) == 1)
{
Expand Down

0 comments on commit bee7f19

Please sign in to comment.