mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
iOS: Fix switch warning in RAGameView.m
This commit is contained in:
parent
19df1d3197
commit
c4034080ac
@ -14,6 +14,7 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <Availability.h>
|
||||
#import "RetroArch_Apple.h"
|
||||
#include "../../general.h"
|
||||
|
||||
@ -198,6 +199,11 @@ static GLContextClass* g_context;
|
||||
return (apple_frontend_settings.orientation_flags & UIInterfaceOrientationMaskLandscapeLeft);
|
||||
case UIInterfaceOrientationLandscapeRight:
|
||||
return (apple_frontend_settings.orientation_flags & UIInterfaceOrientationMaskLandscapeRight);
|
||||
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0
|
||||
case UIInterfaceOrientationUnknown:
|
||||
return (apple_frontend_settings.orientation_flags & UIInterfaceOrientationMaskAll);
|
||||
#endif
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user