mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(XMB) Complete the previous patch
This commit is contained in:
parent
90d31a527c
commit
2010e57279
2 changed files with 7 additions and 6 deletions
|
@ -163,7 +163,7 @@ static int menu_entries_flush_stack_type(const char *needle, const char *label,
|
|||
}
|
||||
|
||||
static bool menu_list_pop_stack(menu_list_t *list,
|
||||
size_t idx, size_t *directory_ptr, bool cache)
|
||||
size_t idx, size_t *directory_ptr, bool animate)
|
||||
{
|
||||
menu_ctx_list_t list_info;
|
||||
bool refresh = false;
|
||||
|
@ -179,7 +179,7 @@ static bool menu_list_pop_stack(menu_list_t *list,
|
|||
list_info.type = MENU_LIST_PLAIN;
|
||||
list_info.action = 0;
|
||||
|
||||
if (cache)
|
||||
if (animate)
|
||||
menu_driver_ctl(RARCH_MENU_CTL_LIST_CACHE, &list_info);
|
||||
|
||||
if (menu_list->size != 0)
|
||||
|
@ -195,7 +195,8 @@ static bool menu_list_pop_stack(menu_list_t *list,
|
|||
|
||||
file_list_pop(menu_list, directory_ptr);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_LIST_SET_SELECTION, menu_list);
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
|
||||
if (animate)
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -599,12 +600,12 @@ void menu_entries_flush_stack(const char *needle, unsigned final_type)
|
|||
menu_list_flush_stack(menu_list, 0, needle, final_type);
|
||||
}
|
||||
|
||||
void menu_entries_pop_stack(size_t *ptr, size_t idx, bool cache)
|
||||
void menu_entries_pop_stack(size_t *ptr, size_t idx, bool animate)
|
||||
{
|
||||
menu_list_t *menu_list = NULL;
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_LIST_GET, &menu_list);
|
||||
if (menu_list)
|
||||
menu_list_pop_stack(menu_list, idx, ptr, cache);
|
||||
menu_list_pop_stack(menu_list, idx, ptr, animate);
|
||||
}
|
||||
|
||||
size_t menu_entries_get_stack_size(size_t idx)
|
||||
|
|
|
@ -147,7 +147,7 @@ void menu_entries_get_last_stack(const char **path, const char **label,
|
|||
|
||||
menu_file_list_cbs_t *menu_entries_get_last_stack_actiondata(void);
|
||||
|
||||
void menu_entries_pop_stack(size_t *ptr, size_t idx, bool cache);
|
||||
void menu_entries_pop_stack(size_t *ptr, size_t idx, bool animate);
|
||||
|
||||
void menu_entries_flush_stack(const char *needle, unsigned final_type);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue