mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
Rename menu_entries_select_back to menu_entry_go_back
This commit is contained in:
parent
bae7bc806c
commit
b4a0e0ac2d
@ -22,7 +22,7 @@
|
||||
static int action_cancel_pop_default(const char *path,
|
||||
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,
|
||||
|
@ -81,7 +81,7 @@ int menu_entries_get_title(char *title, size_t title_len)
|
||||
uint32_t menu_entries_show_back(void)
|
||||
{
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
|
||||
|
||||
if (!menu_list)
|
||||
return false;
|
||||
|
||||
@ -89,21 +89,21 @@ uint32_t menu_entries_show_back(void)
|
||||
}
|
||||
|
||||
/* 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();
|
||||
if (!menu_list)
|
||||
return -1;
|
||||
|
||||
menu_setting_apply_deferred();
|
||||
menu_list_pop_stack(menu_list);
|
||||
|
||||
if (menu_needs_refresh())
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
if (!menu_list)
|
||||
return -1;
|
||||
|
||||
menu_setting_apply_deferred();
|
||||
menu_list_pop_stack(menu_list);
|
||||
|
||||
if (menu_needs_refresh())
|
||||
menu_do_refresh(MENU_ACTION_CANCEL);
|
||||
|
||||
rarch_main_data_iterate();
|
||||
|
||||
return 0;
|
||||
rarch_main_data_iterate();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Sets title_msg to the name of the current core (shown at the top of the UI)
|
||||
|
@ -55,7 +55,7 @@ int menu_entries_get_title(char *title, size_t title_len);
|
||||
|
||||
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);
|
||||
|
||||
|
@ -745,7 +745,7 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath
|
||||
|
||||
- (void)menuBack
|
||||
{
|
||||
menu_entries_select_back();
|
||||
menu_entry_go_back();
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
x
Reference in New Issue
Block a user