mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 12:40:07 +00:00
tvos: fix fetching refresh rate on tvos 13/14 (#17455)
This commit is contained in:
parent
c276577b52
commit
0903eead06
@ -140,7 +140,7 @@ static void *apple_display_server_get_resolution_list(
|
||||
|
||||
UIScreen *mainScreen = [UIScreen mainScreen];
|
||||
#if (TARGET_OS_IOS && __IPHONE_OS_VERSION_MAX_ALLOWED >= 150000) || (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 150000)
|
||||
if (@available(iOS 15, *))
|
||||
if (@available(iOS 15, tvOS 15, *))
|
||||
currentRate = [CocoaView get].displayLink.preferredFrameRateRange.preferred;
|
||||
else
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user