From 10e044872d1568af1d536b1b56e27a24f3f211f2 Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Fri, 31 Jan 2025 20:25:50 +1300 Subject: LibusbDevice: Don't detach kernel drivers on macOS --- Source/Core/InputCommon/GCAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/GCAdapter.cpp') 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 = -- cgit v1.2.3