mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Cleanups
This commit is contained in:
parent
9596c7b3c4
commit
fe70f766f1
@ -3074,8 +3074,7 @@ static int deferred_push_content_actions(menu_displaylist_info_t *info)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int xmb_list_bind_init_compare_label(menu_file_list_cbs_t *cbs,
|
||||
uint32_t label_hash)
|
||||
static int xmb_list_bind_init_compare_label(menu_file_list_cbs_t *cbs)
|
||||
{
|
||||
if (cbs && cbs->enum_idx != MSG_UNKNOWN)
|
||||
{
|
||||
@ -3093,10 +3092,9 @@ static int xmb_list_bind_init_compare_label(menu_file_list_cbs_t *cbs,
|
||||
}
|
||||
|
||||
static int xmb_list_bind_init(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash, uint32_t menu_label_hash)
|
||||
const char *path, const char *label, unsigned type, size_t idx)
|
||||
{
|
||||
if (xmb_list_bind_init_compare_label(cbs, label_hash) == 0)
|
||||
if (xmb_list_bind_init_compare_label(cbs) == 0)
|
||||
return 0;
|
||||
|
||||
return -1;
|
||||
|
@ -885,9 +885,7 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
bind->path,
|
||||
bind->label,
|
||||
bind->type,
|
||||
bind->idx,
|
||||
bind->label_hash,
|
||||
bind->menu_label_hash);
|
||||
bind->idx);
|
||||
}
|
||||
break;
|
||||
case RARCH_MENU_CTL_UPDATE_THUMBNAIL_PATH:
|
||||
|
@ -289,8 +289,7 @@ typedef struct menu_ctx_driver
|
||||
void *(*list_get_entry)(void *data, enum menu_list_type type, unsigned i);
|
||||
void (*list_set_selection)(void *data, file_list_t *list);
|
||||
int (*bind_init)(menu_file_list_cbs_t *cbs,
|
||||
const char *path, const char *label, unsigned type, size_t idx,
|
||||
uint32_t label_hash, uint32_t menu_label_hash);
|
||||
const char *path, const char *label, unsigned type, size_t idx);
|
||||
bool (*load_image)(void *userdata, void *data, enum menu_image_type type);
|
||||
const char *ident;
|
||||
int (*environ_cb)(enum menu_environ_cb type, void *data, void *userdata);
|
||||
|
Loading…
x
Reference in New Issue
Block a user