Rename menu_entries_select_back to menu_entry_go_back

This commit is contained in:
twinaphex 2015-06-01 16:50:09 +02:00
parent bae7bc806c
commit b4a0e0ac2d
4 changed files with 16 additions and 16 deletions

View File

@ -22,7 +22,7 @@
static int action_cancel_pop_default(const char *path, static int action_cancel_pop_default(const char *path,
const char *label, unsigned type, size_t idx) const char *label, unsigned type, size_t idx)
{ {
return menu_entries_select_back(); return menu_entry_go_back();
} }
void menu_entries_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs, void menu_entries_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs,

View File

@ -89,21 +89,21 @@ uint32_t menu_entries_show_back(void)
} }
/* Clicks the back button */ /* Clicks the back button */
int menu_entries_select_back(void) int menu_entry_go_back(void)
{ {
menu_list_t *menu_list = menu_list_get_ptr(); menu_list_t *menu_list = menu_list_get_ptr();
if (!menu_list) if (!menu_list)
return -1; return -1;
menu_setting_apply_deferred(); menu_setting_apply_deferred();
menu_list_pop_stack(menu_list); menu_list_pop_stack(menu_list);
if (menu_needs_refresh()) if (menu_needs_refresh())
menu_do_refresh(MENU_ACTION_CANCEL); menu_do_refresh(MENU_ACTION_CANCEL);
rarch_main_data_iterate(); rarch_main_data_iterate();
return 0; return 0;
} }
// Sets title_msg to the name of the current core (shown at the top of the UI) // Sets title_msg to the name of the current core (shown at the top of the UI)

View File

@ -55,7 +55,7 @@ int menu_entries_get_title(char *title, size_t title_len);
uint32_t menu_entries_show_back(void); uint32_t menu_entries_show_back(void);
int menu_entries_select_back(void); int menu_entry_go_back(void);
void menu_entries_get_core_title(char *title_msg, size_t title_msg_len); void menu_entries_get_core_title(char *title_msg, size_t title_msg_len);

View File

@ -745,7 +745,7 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- (void)menuBack - (void)menuBack
{ {
menu_entries_select_back(); menu_entry_go_back();
} }
@end @end