mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-22 10:50:15 -10:00
Everything the macOS build calls above its deployment floor goes through the apple_runtime.h sends behind its existing OS check: the GameController physical input profile and gesture state, GCMotion's activation and acceleration, the haptics rumbler's own macOS 11 methods, the CocoaView display link and its frame-rate range, the location authorisation status, the PQ colour space name, BC texture support and the screen's maximum frame rate. Element names and exported constants are looked up by symbol once, selectors on the poll paths are cached, and a struct the ABI returns in memory goes through objc_msgSend_stret everywhere but arm64. memmap resolves pthread_jit_write_protect_np at load. Deprecated spellings with a same-valued successor take the successor, mapped back in cocoa_defines.h for older SDKs; deprecated calls with no successor on the floor are sent by selector, and the companion converts window and screen coordinates by the frame origin.