mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
Another ios9 buildfix
This commit is contained in:
parent
3e85a17d7a
commit
07a03811a2
@ -2882,7 +2882,7 @@ void config_set_defaults(void *data)
|
||||
|
||||
#if IOS
|
||||
configuration_set_bool(settings,
|
||||
settings->bools.accessibility_enable, UIAccessibilityIsVoiceOverRunning());
|
||||
settings->bools.accessibility_enable, RAIsVoiceOverRunning());
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#if TARGET_OS_IPHONE
|
||||
/* this comes from UIKit but you cannot #include UIKit from C */
|
||||
extern bool UIAccessibilityIsVoiceOverRunning(void);
|
||||
extern bool RAIsVoiceOverRunning(void);
|
||||
#endif
|
||||
|
||||
#if TARGET_OS_TV
|
||||
|
@ -56,6 +56,14 @@
|
||||
#include "../../menu/menu_driver.h"
|
||||
#endif
|
||||
|
||||
#if IOS
|
||||
#import <UIKit/UIAccessibility.h>
|
||||
extern bool RAIsVoiceOverRunning(void)
|
||||
{
|
||||
return UIAccessibilityIsVoiceOverRunning();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_COCOA_METAL) || defined(HAVE_COCOATOUCH)
|
||||
id<ApplePlatform> apple_platform;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user