mirror of
https://github.com/libretro/RetroArch
synced 2025-03-06 04:13:52 +00:00
Get rid of arguments
This commit is contained in:
parent
550b3e5633
commit
688cad2593
@ -48,7 +48,7 @@ static int action_cancel_core_content(const char *path,
|
||||
}
|
||||
|
||||
static int menu_cbs_init_bind_cancel_compare_label(menu_file_list_cbs_t *cbs,
|
||||
const char *label, uint32_t hash, const char *elem0, const char *menu_label)
|
||||
const char *label, uint32_t hash, const char *menu_label)
|
||||
{
|
||||
if (string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_LIST)))
|
||||
{
|
||||
@ -68,7 +68,7 @@ static int menu_cbs_init_bind_cancel_compare_type(
|
||||
|
||||
int menu_cbs_init_bind_cancel(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)
|
||||
@ -77,7 +77,7 @@ int menu_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs,
|
||||
|
||||
BIND_ACTION_CANCEL(cbs, action_cancel_pop_default);
|
||||
|
||||
if (menu_cbs_init_bind_cancel_compare_label(cbs, label, label_hash, elem0, menu_label) == 0)
|
||||
if (menu_cbs_init_bind_cancel_compare_label(cbs, label, label_hash, menu_label) == 0)
|
||||
return 0;
|
||||
|
||||
if (menu_cbs_init_bind_cancel_compare_type(
|
||||
|
@ -85,7 +85,7 @@ void menu_cbs_init(void *data,
|
||||
|
||||
menu_cbs_init_log(repr_label, "OK", cbs->action_ok_ident);
|
||||
|
||||
menu_cbs_init_bind_cancel(cbs, path, label, type, idx, elem0, elem1, menu_label, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_cancel(cbs, path, label, type, idx, menu_label, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "CANCEL", cbs->action_cancel_ident);
|
||||
|
||||
|
@ -159,7 +159,7 @@ int menu_cbs_init_bind_content_list_switch(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_cancel(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_ok(menu_file_list_cbs_t *cbs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user