mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-30 01:52:23 +00:00
Don't rotate to portrait and fix iOS 6 compatibility
This commit is contained in:
parent
b1108f3290
commit
e530a306ec
@ -138,9 +138,16 @@ ViewController* sharedViewController;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
// For iOS before 6.0
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
|
||||
{
|
||||
return YES;
|
||||
return UIInterfaceOrientationIsLandscape(toInterfaceOrientation);
|
||||
}
|
||||
|
||||
// For iOS 6.0 and up
|
||||
- (NSUInteger)supportedInterfaceOrientations
|
||||
{
|
||||
return UIInterfaceOrientationMaskLandscape;
|
||||
}
|
||||
|
||||
//static BOOL menuDown = NO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user