mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
Cleanups
This commit is contained in:
parent
03f7bd5e7b
commit
370c4cb6a7
@ -41,8 +41,7 @@ static int action_bind_down_generic(unsigned type, const char *label)
|
||||
}
|
||||
|
||||
int menu_cbs_init_bind_down(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash)
|
||||
const char *path, const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
if (!cbs)
|
||||
return -1;
|
||||
|
@ -41,8 +41,7 @@ static int action_bind_up_generic(unsigned type, const char *label)
|
||||
}
|
||||
|
||||
int menu_cbs_init_bind_up(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash)
|
||||
const char *path, const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
if (!cbs)
|
||||
return -1;
|
||||
|
@ -94,11 +94,11 @@ void menu_cbs_init(void *data,
|
||||
|
||||
menu_cbs_init_log(repr_label, "CONTENT SWITCH", cbs->action_content_list_switch_ident);
|
||||
|
||||
menu_cbs_init_bind_up(cbs, path, label, type, idx, label_hash);
|
||||
menu_cbs_init_bind_up(cbs, path, label, type, idx);
|
||||
|
||||
menu_cbs_init_log(repr_label, "UP", cbs->action_up_ident);
|
||||
|
||||
menu_cbs_init_bind_down(cbs, path, label, type, idx, label_hash);
|
||||
menu_cbs_init_bind_down(cbs, path, label, type, idx);
|
||||
|
||||
menu_cbs_init_log(repr_label, "DOWN", cbs->action_down_ident);
|
||||
|
||||
|
@ -133,12 +133,10 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_up(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash);
|
||||
const char *path, const char *label, unsigned type, size_t idx);
|
||||
|
||||
int menu_cbs_init_bind_down(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash);
|
||||
const char *path, const char *label, unsigned type, size_t idx);
|
||||
|
||||
int menu_cbs_init_bind_info(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user