mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 10:20:57 +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;
|
enum menu_action action = MENU_ACTION_NOOP;
|
||||||
menu_file_list_cbs_t *cbs = NULL;
|
menu_file_list_cbs_t *cbs = NULL;
|
||||||
menu_navigation_t *nav = menu_navigation_get_ptr();
|
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();
|
menu_list_t *menu_list = menu_list_get_ptr();
|
||||||
rarch_setting_t *setting = menu_setting_find(
|
rarch_setting_t *setting = menu_setting_find(
|
||||||
menu_list->selection_buf->list[i].label);
|
menu_list->selection_buf->list[i].label);
|
||||||
@ -412,6 +413,9 @@ int menu_entry_select(uint32_t i)
|
|||||||
action = MENU_ACTION_RIGHT;
|
action = MENU_ACTION_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (menu->need_refresh && !menu->nonblocking_refresh && action != MENU_ACTION_MESSAGE)
|
||||||
|
action = MENU_ACTION_REFRESH;
|
||||||
|
|
||||||
if (action != MENU_ACTION_NOOP)
|
if (action != MENU_ACTION_NOOP)
|
||||||
return menu_entry_action(&entry, i, action);
|
return menu_entry_action(&entry, i, action);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -464,6 +464,7 @@ static void ui_companion_cocoatouch_notify_content_loaded(void *data)
|
|||||||
RetroArch_iOS *ap = (RetroArch_iOS *)apple_platform;
|
RetroArch_iOS *ap = (RetroArch_iOS *)apple_platform;
|
||||||
|
|
||||||
(void)data;
|
(void)data;
|
||||||
|
RARCH_LOG("Gets here.\n");
|
||||||
|
|
||||||
if (ap)
|
if (ap)
|
||||||
[ap showGameView];
|
[ap showGameView];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user