mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Remove this label hash
This commit is contained in:
parent
428175cbbc
commit
8024dd367e
@ -4645,7 +4645,7 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs,
|
|||||||
int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
||||||
const char *path, const char *menu_label,
|
const char *path, const char *menu_label,
|
||||||
const char *label, unsigned type, size_t idx,
|
const char *label, unsigned type, size_t idx,
|
||||||
uint32_t label_hash, uint32_t menu_label_hash)
|
uint32_t label_hash)
|
||||||
{
|
{
|
||||||
if (!cbs)
|
if (!cbs)
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -210,7 +210,6 @@ void menu_cbs_init(void *data,
|
|||||||
const char *repr_label = NULL;
|
const char *repr_label = NULL;
|
||||||
const char *menu_label = NULL;
|
const char *menu_label = NULL;
|
||||||
uint32_t label_hash = 0;
|
uint32_t label_hash = 0;
|
||||||
uint32_t menu_label_hash = 0;
|
|
||||||
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
|
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
|
||||||
file_list_t *list = (file_list_t*)data;
|
file_list_t *list = (file_list_t*)data;
|
||||||
if (!list)
|
if (!list)
|
||||||
@ -222,7 +221,6 @@ void menu_cbs_init(void *data,
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
label_hash = msg_hash_calculate(label);
|
label_hash = msg_hash_calculate(label);
|
||||||
menu_label_hash = msg_hash_calculate(menu_label);
|
|
||||||
|
|
||||||
#ifdef DEBUG_LOG
|
#ifdef DEBUG_LOG
|
||||||
RARCH_LOG("\n");
|
RARCH_LOG("\n");
|
||||||
@ -238,7 +236,7 @@ void menu_cbs_init(void *data,
|
|||||||
/* It will try to find a corresponding callback function inside
|
/* It will try to find a corresponding callback function inside
|
||||||
* menu_cbs_ok.c, then map this callback to the entry. */
|
* menu_cbs_ok.c, then map this callback to the entry. */
|
||||||
menu_cbs_init_bind_ok(cbs, path, menu_label,
|
menu_cbs_init_bind_ok(cbs, path, menu_label,
|
||||||
label, type, idx, label_hash, menu_label_hash);
|
label, type, idx, label_hash);
|
||||||
|
|
||||||
menu_cbs_init_log(repr_label, "OK", cbs->action_ok_ident);
|
menu_cbs_init_log(repr_label, "OK", cbs->action_ok_ident);
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ int menu_cbs_init_bind_cancel(menu_file_list_cbs_t *cbs,
|
|||||||
int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
int menu_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
||||||
const char *path, const char *menu_label,
|
const char *path, const char *menu_label,
|
||||||
const char *label, unsigned type, size_t idx,
|
const char *label, unsigned type, size_t idx,
|
||||||
uint32_t label_hash, uint32_t menu_label_hash);
|
uint32_t label_hash);
|
||||||
|
|
||||||
int menu_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
|
int menu_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
|
||||||
const char *path, const char *label, unsigned type, size_t idx,
|
const char *path, const char *label, unsigned type, size_t idx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user