mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 00:40:20 +00:00
(iOS) Don't use UIInterfaceOrientationUnknown since it creates a dependency
on iOS 8 SDK
This commit is contained in:
parent
a609fb5c94
commit
50e21d7432
@ -172,10 +172,8 @@ static void apple_gfx_ctx_flush_buffer(void);
|
||||
case UIInterfaceOrientationLandscapeRight:
|
||||
return (apple_frontend_settings.orientation_flags & UIInterfaceOrientationMaskLandscapeRight);
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0
|
||||
case UIInterfaceOrientationUnknown:
|
||||
default:
|
||||
return (apple_frontend_settings.orientation_flags & UIInterfaceOrientationMaskAll);
|
||||
#endif
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
@ -16,8 +16,9 @@
|
||||
#ifndef _MENU_DISP_IOS_H
|
||||
#define _MENU_DISP_IOS_H
|
||||
|
||||
typedef struct ios_handle {
|
||||
void (*switch_to_ios)(void);
|
||||
typedef struct ios_handle
|
||||
{
|
||||
void (*switch_to_ios)(void);
|
||||
} ios_handle_t;
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user