Revert "(iOS) Buildfix"

This reverts commit 15142fd0a9.
This commit is contained in:
twinaphex 2018-04-11 06:12:01 +02:00
parent 6c99acb23e
commit 146c94a86a
1 changed files with 3 additions and 6 deletions

View File

@ -817,14 +817,11 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)menuBack - (void)menuBack
{ {
#ifdef HAVE_MENU #ifdef HAVE_MENU
menu_handle_t *menu = NULL; menu_entry_t entry = {0};
menu_entry_t entry = {0}; size_t selection = menu_navigation_get_selection();
size_t selection = menu_navigation_get_selection();
menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu);
menu_entry_get(&entry, 0, selection, NULL, false); 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 #endif
} }