File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070#include "switch_performance_profiles.h"
7171#endif
7272
73- #if TARGET_OS_TV
73+ #if IOS
7474#include "ui/drivers/cocoa/apple_platform.h"
7575#endif
7676
@@ -2880,6 +2880,11 @@ void config_set_defaults(void *data)
28802880 load_timezone (settings -> arrays .timezone );
28812881#endif
28822882
2883+ #if IOS
2884+ configuration_set_bool (settings ,
2885+ settings -> bools .accessibility_enable , UIAccessibilityIsVoiceOverRunning ());
2886+ #endif
2887+
28832888#ifdef HAVE_MENU
28842889 if (first_initialized )
28852890 configuration_set_bool (settings ,
Original file line number Diff line number Diff line change 11#ifndef COCOA_APPLE_PLATFORM_H
22#define COCOA_APPLE_PLATFORM_H
33
4+ #if TARGET_OS_IPHONE
5+ /* this comes from UIKit but you cannot #include UIKit from C */
6+ extern bool UIAccessibilityIsVoiceOverRunning (void );
7+ #endif
8+
49#if TARGET_OS_TV
510#include " config_file.h"
611extern config_file_t *open_userdefaults_config_file (void );
You can’t perform that action at this time.
0 commit comments