mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Create menu_list_get_last and menu_list_get_last_stack
This commit is contained in:
parent
25efe98704
commit
43d330fa47
@ -53,6 +53,22 @@ size_t menu_list_get_size(void)
|
||||
return file_list_get_size(driver.menu->selection_buf);
|
||||
}
|
||||
|
||||
void menu_list_get_last(const file_list_t *list,
|
||||
const char **path, const char **label,
|
||||
unsigned *file_type)
|
||||
{
|
||||
if (list)
|
||||
file_list_get_last(list, path, label, file_type);
|
||||
}
|
||||
|
||||
void menu_list_get_last_stack(const file_list_t *list,
|
||||
const char **path, const char **label,
|
||||
unsigned *file_type)
|
||||
{
|
||||
if (list)
|
||||
file_list_get_last(list, path, label, file_type);
|
||||
}
|
||||
|
||||
void menu_list_flush_stack(file_list_t *list,
|
||||
unsigned final_type)
|
||||
{
|
||||
|
@ -42,6 +42,14 @@ size_t menu_list_get_stack_size(void);
|
||||
|
||||
size_t menu_list_get_size(void);
|
||||
|
||||
void menu_list_get_last(const file_list_t *list,
|
||||
const char **path, const char **label,
|
||||
unsigned *file_type);
|
||||
|
||||
void menu_list_get_last_stack(const file_list_t *list,
|
||||
const char **path, const char **label,
|
||||
unsigned *file_type);
|
||||
|
||||
void menu_list_clear(file_list_t *list);
|
||||
|
||||
void menu_list_push(file_list_t *list,
|
||||
|
Loading…
Reference in New Issue
Block a user