summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/GCAdapter.cpp
diff options
context:
space:
mode:
authorSanjay Govind <sanjay.govind9@gmail.com>2025-01-31 20:25:50 +1300
committerSanjay Govind <sanjay.govind9@gmail.com>2025-02-01 10:32:20 +1300
commit10e044872d1568af1d536b1b56e27a24f3f211f2 (patch)
treeee635500136a349296635e5cf7d2ca1ae3e08758 /Source/Core/InputCommon/GCAdapter.cpp
parentcd3993708f25ecbfb62eea9cdd8279bc002a01d1 (diff)
LibusbDevice: Don't detach kernel drivers on macOS
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter.cpp')
-rw-r--r--Source/Core/InputCommon/GCAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/GCAdapter.cpp b/Source/Core/InputCommon/GCAdapter.cpp
index 9da1548034..5cfe513935 100644
--- a/Source/Core/InputCommon/GCAdapter.cpp
+++ b/Source/Core/InputCommon/GCAdapter.cpp
@@ -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 =