mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Hide the 'Core delete' option if the 'Core updater' is also hidden.
This commit is contained in:
parent
813c7ad1f7
commit
63c99363bd
@ -153,6 +153,7 @@ static int menu_displaylist_parse_core_info(menu_displaylist_info_t *info)
|
|||||||
unsigned i;
|
unsigned i;
|
||||||
char tmp[PATH_MAX_LENGTH];
|
char tmp[PATH_MAX_LENGTH];
|
||||||
core_info_t *core_info = NULL;
|
core_info_t *core_info = NULL;
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
tmp[0] = '\0';
|
tmp[0] = '\0';
|
||||||
|
|
||||||
@ -336,11 +337,12 @@ static int menu_displaylist_parse_core_info(menu_displaylist_info_t *info)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_entries_append_enum(info->list,
|
if (settings->bools.menu_show_core_updater)
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_DELETE),
|
menu_entries_append_enum(info->list,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_CORE_DELETE),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_DELETE),
|
||||||
MENU_ENUM_LABEL_CORE_DELETE,
|
msg_hash_to_str(MENU_ENUM_LABEL_CORE_DELETE),
|
||||||
MENU_SETTING_ACTION_CORE_DELETE, 0, 0);
|
MENU_ENUM_LABEL_CORE_DELETE,
|
||||||
|
MENU_SETTING_ACTION_CORE_DELETE, 0, 0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user