mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-13 13:24:01 +00:00
Pass label_hash to menu_cbs_init_bind_right_compare_type
This commit is contained in:
parent
f8cec441a3
commit
ae66caa98f
@ -342,7 +342,7 @@ static int bind_right_generic(unsigned type, const char *label,
|
||||
}
|
||||
|
||||
static int menu_cbs_init_bind_right_compare_type(menu_file_list_cbs_t *cbs,
|
||||
unsigned type, uint32_t menu_label_hash)
|
||||
unsigned type, uint32_t label_hash, uint32_t menu_label_hash)
|
||||
{
|
||||
if (type >= MENU_SETTINGS_SHADER_PARAMETER_0
|
||||
&& type <= MENU_SETTINGS_SHADER_PARAMETER_LAST)
|
||||
@ -493,7 +493,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_hash, elem0) == 0)
|
||||
return 0;
|
||||
|
||||
if (menu_cbs_init_bind_right_compare_type(cbs, type, menu_label_hash) == 0)
|
||||
if (menu_cbs_init_bind_right_compare_type(cbs, type, label_hash, menu_label_hash) == 0)
|
||||
return 0;
|
||||
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user