Revert "(iOS) Buildfix"

This reverts commit 15142fd0a98b0761c883366f817dd92326352ab9.
This commit is contained in:
twinaphex 2018-04-11 06:12:01 +02:00
parent 6c99acb23e
commit 146c94a86a

View File

@ -817,14 +817,11 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)menuBack
{
#ifdef HAVE_MENU
menu_handle_t *menu = NULL;
menu_entry_t entry = {0};
size_t selection = menu_navigation_get_selection();
menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu);
menu_entry_t entry = {0};
size_t selection = menu_navigation_get_selection();
menu_entry_get(&entry, 0, selection, NULL, false);
menu_entry_action(&entry, menu, (unsigned int)selection, MENU_ACTION_CANCEL);
menu_entry_action(&entry, (unsigned int)selection, MENU_ACTION_CANCEL);
#endif
}