mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
LibusbDevice: Don't detach kernel drivers on macOS
This commit is contained in:
parent
cd3993708f
commit
10e044872d
2 changed files with 5 additions and 1 deletions
|
@ -584,7 +584,7 @@ static bool CheckDeviceAccess(libusb_device* device)
|
|||
if (ret == 1) // 1: kernel driver is active
|
||||
{
|
||||
// On macos detaching would fail without root or entitlement.
|
||||
// We assume user is using GCAdapterDriver and therefor don't want to detach anything
|
||||
// We assume user is using GCAdapterDriver and therefore don't want to detach anything
|
||||
#if !defined(__APPLE__)
|
||||
ret = libusb_detach_kernel_driver(s_handle, 0);
|
||||
detach_failed =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue