mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-16 15:39:54 +00:00
(iOS) Fix for mapping iCade buttons on iOS 7.
This commit is contained in:
parent
4ab33d5b3b
commit
59f55c085a
@ -353,6 +353,10 @@
|
||||
delegate:self
|
||||
cancelButtonTitle:@"Cancel"
|
||||
otherButtonTitles:@"Clear Keyboard", @"Clear Joystick", @"Clear Axis", nil];
|
||||
|
||||
if (is_ios_7())
|
||||
self.alert.alertViewStyle = UIAlertViewStylePlainTextInput;
|
||||
|
||||
[self.alert show];
|
||||
|
||||
[self.parentTable reloadData];
|
||||
@ -367,11 +371,12 @@
|
||||
[self.alert dismissWithClickedButtonIndex:self.alert.cancelButtonIndex animated:YES];
|
||||
self.alert = nil;
|
||||
|
||||
|
||||
[self.parentTable reloadData];
|
||||
|
||||
[self.bindTimer invalidate];
|
||||
self.bindTimer = nil;
|
||||
|
||||
apple_input_reset_icade_buttons();
|
||||
}
|
||||
|
||||
- (void)alertView:(UIAlertView*)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
|
||||
|
Loading…
x
Reference in New Issue
Block a user