mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Cleanups
This commit is contained in:
parent
f469f40381
commit
1cc2ae692b
@ -386,7 +386,7 @@ static int bind_left_generic(unsigned type, const char *label,
|
||||
|
||||
static int menu_cbs_init_bind_left_compare_label(menu_file_list_cbs_t *cbs,
|
||||
const char *label, uint32_t label_hash, const char *menu_label,
|
||||
uint32_t menu_label_hash, const char *elem0)
|
||||
uint32_t menu_label_hash)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
@ -595,7 +595,7 @@ static int menu_cbs_init_bind_left_compare_type(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_left(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1, const char *menu_label,
|
||||
const char *menu_label,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (!cbs)
|
||||
@ -618,7 +618,7 @@ int menu_cbs_init_bind_left(menu_file_list_cbs_t *cbs,
|
||||
}
|
||||
}
|
||||
|
||||
if (menu_cbs_init_bind_left_compare_label(cbs, label, label_hash, menu_label, menu_label_hash, elem0) == 0)
|
||||
if (menu_cbs_init_bind_left_compare_label(cbs, label, label_hash, menu_label, menu_label_hash) == 0)
|
||||
return 0;
|
||||
|
||||
if (menu_cbs_init_bind_left_compare_type(cbs, type, label_hash, menu_label, menu_label_hash) == 0)
|
||||
|
@ -506,7 +506,7 @@ static int menu_cbs_init_bind_right_compare_type(menu_file_list_cbs_t *cbs,
|
||||
|
||||
static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
|
||||
const char *label, uint32_t label_hash, const char *menu_label,
|
||||
uint32_t menu_label_hash, const char *elem0)
|
||||
uint32_t menu_label_hash)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
@ -618,7 +618,7 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_right(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1, const char *menu_label,
|
||||
const char *menu_label,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (!cbs)
|
||||
@ -642,7 +642,7 @@ int menu_cbs_init_bind_right(menu_file_list_cbs_t *cbs,
|
||||
}
|
||||
|
||||
if (menu_cbs_init_bind_right_compare_label(cbs, label, label_hash, menu_label,
|
||||
menu_label_hash, elem0) == 0)
|
||||
menu_label_hash) == 0)
|
||||
return 0;
|
||||
|
||||
if (menu_cbs_init_bind_right_compare_type(cbs, type, label_hash, menu_label, menu_label_hash) == 0)
|
||||
|
@ -117,11 +117,11 @@ void menu_cbs_init(void *data,
|
||||
|
||||
menu_cbs_init_log(repr_label, "DOWN", cbs->action_down_ident);
|
||||
|
||||
menu_cbs_init_bind_left(cbs, path, label, type, idx, elem0, elem1, menu_label, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_left(cbs, path, label, type, idx, menu_label, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "LEFT", cbs->action_left_ident);
|
||||
|
||||
menu_cbs_init_bind_right(cbs, path, label, type, idx, elem0, elem1, menu_label, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_right(cbs, path, label, type, idx, menu_label, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "RIGHT", cbs->action_right_ident);
|
||||
|
||||
|
@ -117,12 +117,12 @@ int action_right_cheat(unsigned type, const char *label,
|
||||
|
||||
int menu_cbs_init_bind_left(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1, const char *menu_label,
|
||||
const char *menu_label,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_right(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1, const char *menu_label,
|
||||
const char *menu_label,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
|
||||
|
Loading…
Reference in New Issue
Block a user