(Menu) Menu hash updates

This commit is contained in:
twinaphex 2015-06-19 16:59:49 +02:00
parent a63ebe1d12
commit eaab8d97ef
4 changed files with 9 additions and 3 deletions

View File

@ -1531,7 +1531,8 @@ static void xmb_init_horizontal_list(menu_handle_t *menu, xmb_handle_t *xmb)
info.type = 0;
info.type_default = MENU_FILE_PLAIN;
info.flags = SL_FLAG_ALLOW_EMPTY_LIST;
strlcpy(info.label, "content_collection_list", sizeof(info.label));
strlcpy(info.label,
menu_hash_to_str(MENU_LABEL_CONTENT_COLLECTION_LIST), sizeof(info.label));
strlcpy(info.path, settings->playlist_directory, sizeof(info.path));
strlcpy(info.exts, "lpl", sizeof(info.exts));

View File

@ -193,6 +193,10 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_CONTENT_COLLECTION_LIST:
return "content_collection_list";
case MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST:
return "Load Content (Collection)";
case MENU_LABEL_DETECT_CORE_LIST:
return "detect_core_list";
case MENU_LABEL_VALUE_DETECT_CORE_LIST:

View File

@ -448,6 +448,7 @@ extern "C" {
#define MENU_LABEL_REMAP_FILE_SAVE_CORE 0x7c9d4c8fU
#define MENU_LABEL_REMAP_FILE_SAVE_GAME 0x7c9f41e0U
#define MENU_LABEL_CONTENT_COLLECTION_LIST 0x0f8a9086U
#define MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST 0x7c20a99dU
#define MENU_LABEL_VALUE_UNABLE_TO_READ_COMPRESSED_FILE 0xbae7be3eU
#define MENU_LABEL_OSK_ENABLE 0x8e208498U
#define MENU_LABEL_AUDIO_MUTE 0xe0ca1151U

View File

@ -3551,8 +3551,8 @@ static bool setting_append_list_main_menu_options(
#ifdef HAVE_LIBRETRODB
CONFIG_ACTION(
"content_collection_list",
"Load Content (Collection)",
menu_hash_to_str(MENU_LABEL_CONTENT_COLLECTION_LIST),
menu_hash_to_str(MENU_LABEL_VALUE_CONTENT_COLLECTION_LIST),
group_info.name,
subgroup_info.name,
parent_group);