mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Take out menu_setting_find_prehashed
This commit is contained in:
parent
1e3aba3494
commit
fa0ba621d7
@ -362,7 +362,7 @@ static int general_push(menu_displaylist_info_t *info,
|
||||
case PUSH_ARCHIVE_OPEN_DETECT_CORE:
|
||||
case PUSH_ARCHIVE_OPEN:
|
||||
case PUSH_DEFAULT:
|
||||
info->setting = menu_setting_find_prehashed(info->label, info->label_hash);
|
||||
info->setting = menu_setting_find(info->label);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -1937,18 +1937,6 @@ rarch_setting_t *menu_setting_find(const char *label)
|
||||
return menu_setting_find_internal(setting, label, needle);
|
||||
}
|
||||
|
||||
rarch_setting_t *menu_setting_find_prehashed(const char *label, uint32_t needle)
|
||||
{
|
||||
rarch_setting_t *setting = NULL;
|
||||
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_SETTINGS_GET, &setting);
|
||||
|
||||
if (!setting || !label)
|
||||
return NULL;
|
||||
|
||||
return menu_setting_find_internal(setting, label, needle);
|
||||
}
|
||||
|
||||
int menu_setting_set_flags(rarch_setting_t *setting)
|
||||
{
|
||||
if (!setting)
|
||||
|
@ -280,8 +280,6 @@ int menu_setting_set(unsigned type, const char *label,
|
||||
**/
|
||||
rarch_setting_t *menu_setting_find(const char *label);
|
||||
|
||||
rarch_setting_t *menu_setting_find_prehashed(const char *label, uint32_t needle);
|
||||
|
||||
/**
|
||||
* setting_set_with_string_representation:
|
||||
* @setting : pointer to setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user