From 0d0e050676bfbced98710194f3533c5d4068ab66 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 19 Jun 2015 03:08:37 +0200 Subject: [PATCH] (Menu) USE_THIS_DIRECTORY_* menu hashes --- menu/menu_displaylist.c | 3 ++- menu/menu_hash.c | 2 ++ menu/menu_hash.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 9dd5b2c358..90f4e3d011 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -1557,7 +1557,8 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n if (push_dir) menu_list_push(info->list, - menu_hash_to_str(MENU_LABEL_VALUE_USE_THIS_DIRECTORY), "", + menu_hash_to_str(MENU_LABEL_VALUE_USE_THIS_DIRECTORY), + menu_hash_to_str(MENU_LABEL_USE_THIS_DIRECTORY), MENU_FILE_USE_DIRECTORY, 0 ,0); if (!str_list) diff --git a/menu/menu_hash.c b/menu/menu_hash.c index 4d6f04280d..658da0c4af 100644 --- a/menu/menu_hash.c +++ b/menu/menu_hash.c @@ -47,6 +47,8 @@ static const char *menu_hash_to_str_english(uint32_t hash) { switch (hash) { + case MENU_LABEL_VALUE_USE_THIS_DIRECTORY: + return ""; case MENU_LABEL_VALUE_RDB_ENTRY_START_CONTENT: return "Start Content"; case MENU_LABEL_RDB_ENTRY_START_CONTENT: diff --git a/menu/menu_hash.h b/menu/menu_hash.h index 87931af03c..4e69f55cd2 100644 --- a/menu/menu_hash.h +++ b/menu/menu_hash.h @@ -32,6 +32,7 @@ extern "C" { #define MENU_LABEL_VALUE_SHADER_OPTIONS 0xf3fb0028U #define MENU_LABEL_VALUE_USE_THIS_DIRECTORY 0xc5fc9ed9U +#define MENU_LABEL_USE_THIS_DIRECTORY 0xc51d351dU #define MENU_LABEL_VALUE_CORE_OPTIONS 0x1477b95aU #define MENU_LABEL_VALUE_NO_SHADER_PARAMETERS 0x8ccc809bU #define MENU_LABEL_VALUE_NO_CORE_INFORMATION_AVAILABLE 0x2a11fe80U