mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-08 02:46:26 +00:00
haptic: Deal with deprecated macOS symbol.
This commit is contained in:
@@ -167,7 +167,7 @@ SDL_SYS_HapticInit(void)
|
||||
}
|
||||
|
||||
/* Now search I/O Registry for matching devices. */
|
||||
result = IOServiceGetMatchingServices(kIOMasterPortDefault, match, &iter);
|
||||
result = IOServiceGetMatchingServices(kIOMainPortDefault, match, &iter);
|
||||
if (result != kIOReturnSuccess) {
|
||||
return SDL_SetError("Haptic: Couldn't create a HID object iterator.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user