mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Add list_prepend to the menu ctx drivers
This commit is contained in:
parent
01c82a09f0
commit
8e86d11f57
@ -1581,6 +1581,7 @@ menu_ctx_driver_t menu_ctx_mui = {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
mui_list_cache,
|
||||
mui_list_push,
|
||||
mui_list_get_selection,
|
||||
|
@ -46,6 +46,7 @@ menu_ctx_driver_t menu_ctx_null = {
|
||||
NULL, /* navigation_ascend_alphabet */
|
||||
NULL, /* lists_init */
|
||||
NULL, /* list_insert */
|
||||
NULL, /* list_prepend */
|
||||
NULL, /* list_delete */
|
||||
NULL, /* list_clear */
|
||||
NULL, /* list_cache */
|
||||
|
@ -911,6 +911,7 @@ menu_ctx_driver_t menu_ctx_rgui = {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
"rgui",
|
||||
rgui_environ,
|
||||
rgui_pointer_tap,
|
||||
|
@ -3040,6 +3040,7 @@ menu_ctx_driver_t menu_ctx_xmb = {
|
||||
xmb_menu_init_list,
|
||||
xmb_list_insert,
|
||||
NULL,
|
||||
NULL,
|
||||
xmb_list_clear,
|
||||
xmb_list_cache,
|
||||
xmb_list_push,
|
||||
|
@ -1345,6 +1345,7 @@ menu_ctx_driver_t menu_ctx_zarch = {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
zarch_load_image,
|
||||
"zarch",
|
||||
NULL,
|
||||
|
@ -325,6 +325,8 @@ typedef struct menu_ctx_driver
|
||||
bool (*lists_init)(void*);
|
||||
void (*list_insert)(void *userdata,
|
||||
file_list_t *list, const char *, const char *, size_t);
|
||||
int (*list_prepend)(void *userdata,
|
||||
file_list_t *list, const char *, const char *, size_t);
|
||||
void (*list_free)(file_list_t *list, size_t, size_t);
|
||||
void (*list_clear)(file_list_t *list);
|
||||
void (*list_cache)(void *data, enum menu_list_type, unsigned);
|
||||
|
Loading…
Reference in New Issue
Block a user