mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-10 13:42:23 +00:00
Create macro for menu_cbs_title.c
This commit is contained in:
parent
88b1c3ed4c
commit
883d4abea0
@ -201,13 +201,13 @@ static int action_get_title_generic(char *s, size_t len, const char *path,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int action_get_title_deferred_database_manager_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
return action_get_title_generic(s, len, path,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DATABASE_SELECTION));
|
||||
}
|
||||
#define default_title_generic_macro(func_name, lbl) \
|
||||
static int (func_name)(const char *path, const char *label, unsigned menu_type, char *s, size_t len) \
|
||||
{ \
|
||||
return action_get_title_generic(s, len, path, msg_hash_to_str(lbl)); \
|
||||
} \
|
||||
|
||||
default_title_generic_macro(action_get_title_deferred_database_manager_list,MENU_ENUM_LABEL_VALUE_DATABASE_SELECTION)
|
||||
static int action_get_title_deferred_cursor_manager_list(const char *path, const char *label,
|
||||
unsigned menu_type, char *s, size_t len)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user