diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index 3178e480bf..a97b0e56f2 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -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, diff --git a/menu/drivers/null.c b/menu/drivers/null.c index a07ffb5314..b08548b6c0 100644 --- a/menu/drivers/null.c +++ b/menu/drivers/null.c @@ -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 */ diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index 7daf99eed2..8f2406390c 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -911,6 +911,7 @@ menu_ctx_driver_t menu_ctx_rgui = { NULL, NULL, NULL, + NULL, "rgui", rgui_environ, rgui_pointer_tap, diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 87e7bf6f8f..0037ab5d49 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -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, diff --git a/menu/drivers/zarch.c b/menu/drivers/zarch.c index 53bd48bf32..3a4bb20c97 100644 --- a/menu/drivers/zarch.c +++ b/menu/drivers/zarch.c @@ -1345,6 +1345,7 @@ menu_ctx_driver_t menu_ctx_zarch = { NULL, NULL, NULL, + NULL, zarch_load_image, "zarch", NULL, diff --git a/menu/menu_driver.h b/menu/menu_driver.h index 2e76f55e3e..1dd2c7621a 100644 --- a/menu/menu_driver.h +++ b/menu/menu_driver.h @@ -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);