mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-02 16:19:09 +00:00
(menu_entries_cbs_ok.c) Fix is_rdb_entry
This commit is contained in:
parent
0594e5aa83
commit
ed208665ec
@ -1707,17 +1707,19 @@ void menu_entries_cbs_init_bind_ok(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
rarch_setting_t *setting = menu_setting_find(label);
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
uint32_t elem0_hash = djb2_calculate(elem0);
|
||||
|
||||
if (!cbs || !menu)
|
||||
return;
|
||||
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("path: %s, label: %s, elem0 : %s, elem1: %s\n", path, label, elem0, elem1);
|
||||
#endif
|
||||
|
||||
cbs->action_ok = action_ok_lookup_setting;
|
||||
|
||||
if (elem0[0] != '\0' && (is_rdb_entry(label_hash) == 0))
|
||||
if (elem0[0] != '\0' && (is_rdb_entry(elem0_hash) == 0))
|
||||
{
|
||||
cbs->action_ok = action_ok_rdb_entry_submenu;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user