mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(Menu) Cleanups
This commit is contained in:
parent
d8c95075d0
commit
2514df5bca
@ -492,6 +492,20 @@ static int action_get_title_extraction_directory(const char *path, const char *l
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int action_get_title_menu(const char *path, const char *label,
|
||||||
|
unsigned menu_type, char *s, size_t len)
|
||||||
|
{
|
||||||
|
snprintf(s, len, "MENU %s", path);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int action_get_title_input_settings(const char *path, const char *label,
|
||||||
|
unsigned menu_type, char *s, size_t len)
|
||||||
|
{
|
||||||
|
strlcpy(s, "INPUT SETTINGS", len);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static int menu_entries_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
static int menu_entries_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||||
const char *label, uint32_t label_hash, const char *elem1)
|
const char *label, uint32_t label_hash, const char *elem1)
|
||||||
{
|
{
|
||||||
@ -707,20 +721,6 @@ static int menu_entries_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_get_title_menu(const char *path, const char *label,
|
|
||||||
unsigned menu_type, char *s, size_t len)
|
|
||||||
{
|
|
||||||
snprintf(s, len, "MENU %s", path);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int action_get_title_input_settings(const char *path, const char *label,
|
|
||||||
unsigned menu_type, char *s, size_t len)
|
|
||||||
{
|
|
||||||
strlcpy(s, "INPUT SETTINGS", len);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int menu_entries_cbs_init_bind_title_compare_type(menu_file_list_cbs_t *cbs,
|
static int menu_entries_cbs_init_bind_title_compare_type(menu_file_list_cbs_t *cbs,
|
||||||
unsigned type)
|
unsigned type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user