mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-10 21:10:15 +00:00
(menu_cbs.c) Remove arguments
This commit is contained in:
parent
e68d2c656f
commit
9f53ad9c45
@ -135,7 +135,6 @@ static int menu_cbs_init_bind_scan_compare_type(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_scan(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (!cbs)
|
||||
|
@ -179,14 +179,13 @@ static int menu_cbs_init_bind_select_compare_type(
|
||||
}
|
||||
|
||||
static int menu_cbs_init_bind_select_compare_label(menu_file_list_cbs_t *cbs,
|
||||
const char *label, uint32_t hash, const char *elem0)
|
||||
const char *label, uint32_t hash)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (!cbs)
|
||||
@ -211,7 +210,7 @@ int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (menu_cbs_init_bind_select_compare_label(cbs, label, label_hash, elem0) == 0)
|
||||
if (menu_cbs_init_bind_select_compare_label(cbs, label, label_hash) == 0)
|
||||
return 0;
|
||||
|
||||
if (menu_cbs_init_bind_select_compare_type(cbs, type) == 0)
|
||||
|
@ -433,7 +433,6 @@ static int menu_cbs_init_bind_start_compare_type(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_start(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (!cbs)
|
||||
|
@ -89,15 +89,15 @@ void menu_cbs_init(void *data,
|
||||
|
||||
menu_cbs_init_log(repr_label, "CANCEL", cbs->action_cancel_ident);
|
||||
|
||||
menu_cbs_init_bind_scan(cbs, path, label, type, idx, elem0, elem1, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_scan(cbs, path, label, type, idx, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "SCAN", cbs->action_scan_ident);
|
||||
|
||||
menu_cbs_init_bind_start(cbs, path, label, type, idx, elem0, elem1, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_start(cbs, path, label, type, idx, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "START", cbs->action_start_ident);
|
||||
|
||||
menu_cbs_init_bind_select(cbs, path, label, type, idx, elem0, elem1, label_hash, menu_label_hash);
|
||||
menu_cbs_init_bind_select(cbs, path, label, type, idx, label_hash, menu_label_hash);
|
||||
|
||||
menu_cbs_init_log(repr_label, "SELECT", cbs->action_select_ident);
|
||||
|
||||
|
@ -145,7 +145,6 @@ int menu_cbs_init_bind_info(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_start(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_content_list_switch(menu_file_list_cbs_t *cbs,
|
||||
@ -167,12 +166,10 @@ int menu_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
|
||||
|
||||
int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_scan(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
const char *elem0, const char *elem1,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
|
||||
int menu_cbs_init_bind_title(menu_file_list_cbs_t *cbs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user