diff --git a/src/joystick/apple/SDL_mfijoystick.m b/src/joystick/apple/SDL_mfijoystick.m index 1183a03475..543016a4f4 100644 --- a/src/joystick/apple/SDL_mfijoystick.m +++ b/src/joystick/apple/SDL_mfijoystick.m @@ -304,14 +304,8 @@ static bool IOS_AddMFIJoystickDevice(SDL_JoystickDeviceItem *device, GCControlle * struct, and ARC doesn't work with structs. */ device->controller = (__bridge GCController *)CFBridgingRetain(controller); - if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, *)) { - if (controller.productCategory) { - name = controller.productCategory.UTF8String; - } - } else { - if (controller.vendorName) { - name = controller.vendorName.UTF8String; - } + if (controller.vendorName) { + name = controller.vendorName.UTF8String; } if (!name) {