From a67d000734a152120d3df8b0966fb70600f177ee Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Fri, 15 May 2015 22:25:28 +0200 Subject: [PATCH] (CocoaTouch) Updates list now - 'Back' button not yet working --- menu/menu_entry.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/menu/menu_entry.c b/menu/menu_entry.c index 4754e1d1e2..c51730e9d0 100644 --- a/menu/menu_entry.c +++ b/menu/menu_entry.c @@ -385,6 +385,7 @@ int menu_entry_get_current_id(bool use_representation) // cores and updating the currently displayed menu int menu_entry_select(uint32_t i) { + int ret = 0; menu_entry_t entry; enum menu_action action = MENU_ACTION_NOOP; menu_file_list_cbs_t *cbs = NULL; @@ -413,8 +414,12 @@ int menu_entry_select(uint32_t i) } if (action != MENU_ACTION_NOOP) - return menu_entry_action(&entry, i, action); - return 0; + ret = menu_entry_action(&entry, i, action); + + if (menu_needs_refresh()) + menu_do_refresh(action); + + return ret; } int menu_entry_iterate(unsigned action)