mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(iOS) Start handling MENU_ACTION_REFRESH
This commit is contained in:
parent
e735cc93c2
commit
679f1345fd
@ -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;
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user