(iOS) Start handling MENU_ACTION_REFRESH

This commit is contained in:
Twinaphex 2015-05-15 13:39:14 +02:00
parent e735cc93c2
commit 679f1345fd
2 changed files with 5 additions and 0 deletions

View File

@ -389,6 +389,7 @@ int menu_entry_select(uint32_t i)
enum menu_action action = MENU_ACTION_NOOP;
menu_file_list_cbs_t *cbs = NULL;
menu_navigation_t *nav = menu_navigation_get_ptr();
menu_handle_t *menu = menu_driver_get_ptr();
menu_list_t *menu_list = menu_list_get_ptr();
rarch_setting_t *setting = menu_setting_find(
menu_list->selection_buf->list[i].label);
@ -412,6 +413,9 @@ int menu_entry_select(uint32_t i)
action = MENU_ACTION_RIGHT;
}
if (menu->need_refresh && !menu->nonblocking_refresh && action != MENU_ACTION_MESSAGE)
action = MENU_ACTION_REFRESH;
if (action != MENU_ACTION_NOOP)
return menu_entry_action(&entry, i, action);
return 0;

View File

@ -464,6 +464,7 @@ static void ui_companion_cocoatouch_notify_content_loaded(void *data)
RetroArch_iOS *ap = (RetroArch_iOS *)apple_platform;
(void)data;
RARCH_LOG("Gets here.\n");
if (ap)
[ap showGameView];