diff --git a/menu/menu_hash.c b/menu/menu_hash.c index 76a47e87db..4f723d630c 100644 --- a/menu/menu_hash.c +++ b/menu/menu_hash.c @@ -339,6 +339,26 @@ static const char *menu_hash_to_str_english(uint32_t hash) { switch (hash) { + case MENU_LABEL_VIDEO_FONT_ENABLE: + return "video_font_enable"; + case MENU_LABEL_VALUE_VIDEO_FONT_ENABLE: + return "Display OSD Message"; + case MENU_LABEL_VIDEO_FONT_PATH: + return "video_font_path"; + case MENU_LABEL_VALUE_VIDEO_FONT_PATH: + return "OSD Message Font"; + case MENU_LABEL_VIDEO_FONT_SIZE: + return "video_font_size"; + case MENU_LABEL_VALUE_VIDEO_FONT_SIZE: + return "OSD Message Size"; + case MENU_LABEL_VIDEO_MESSAGE_POS_X: + return "video_message_pos_x"; + case MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_X: + return "OSD Message X Position"; + case MENU_LABEL_VIDEO_MESSAGE_POS_Y: + return "video_message_pos_y"; + case MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_Y: + return "OSD Message Y Position"; case MENU_VALUE_DIRECTORY_CONTENT: return ""; case MENU_VALUE_UNKNOWN: diff --git a/menu/menu_hash.h b/menu/menu_hash.h index 71713e1f35..3c7461b7f5 100644 --- a/menu/menu_hash.h +++ b/menu/menu_hash.h @@ -26,6 +26,17 @@ extern "C" { #define MENU_VALUE_DIRECTORY_DEFAULT 0xdcc3a2e4U #define MENU_VALUE_NOT_AVAILABLE 0x0b880503U +#define MENU_LABEL_VIDEO_FONT_ENABLE 0x697d9b58U +#define MENU_LABEL_VALUE_VIDEO_FONT_ENABLE 0x272a12a6U +#define MENU_LABEL_VIDEO_FONT_PATH 0xd0de729eU +#define MENU_LABEL_VALUE_VIDEO_FONT_PATH 0x025c4de7U +#define MENU_LABEL_VIDEO_FONT_SIZE 0xd0e03a8cU +#define MENU_LABEL_VALUE_VIDEO_FONT_SIZE 0x026356cbU +#define MENU_LABEL_VIDEO_MESSAGE_POS_X 0xa133c368U +#define MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_X 0x4b1ac89dU +#define MENU_LABEL_VIDEO_MESSAGE_POS_Y 0xa133c369U +#define MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_Y 0x4f2559beU + #define MENU_LABEL_CORE_ENABLE 0x2f37fe48U #define MENU_LABEL_VALUE_CORE_ENABLE 0x751e2065U diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 0ab7d520d5..8b574e9ffc 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -4955,8 +4955,8 @@ static bool setting_append_list_font_options( #ifndef RARCH_CONSOLE CONFIG_BOOL( settings->video.font_enable, - "video_font_enable", - "Display OSD Message", + menu_hash_to_str(MENU_LABEL_VIDEO_FONT_ENABLE), + menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_ENABLE), font_enable, menu_hash_to_str(MENU_VALUE_OFF), menu_hash_to_str(MENU_VALUE_ON), @@ -4969,8 +4969,8 @@ static bool setting_append_list_font_options( CONFIG_PATH( settings->video.font_path, - "video_font_path", - "OSD Message Font", + menu_hash_to_str(MENU_LABEL_VIDEO_FONT_PATH), + menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_PATH), "", group_info.name, subgroup_info.name, @@ -4981,8 +4981,8 @@ static bool setting_append_list_font_options( CONFIG_FLOAT( settings->video.font_size, - "video_font_size", - "OSD Message Size", + menu_hash_to_str(MENU_LABEL_VIDEO_FONT_SIZE), + menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FONT_SIZE), font_size, "%.1f", group_info.name, @@ -4994,8 +4994,8 @@ static bool setting_append_list_font_options( CONFIG_FLOAT( settings->video.msg_pos_x, - "video_message_pos_x", - "OSD Message X Position", + menu_hash_to_str(MENU_LABEL_VIDEO_MESSAGE_POS_X), + menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_X), message_pos_offset_x, "%.3f", group_info.name, @@ -5007,8 +5007,8 @@ static bool setting_append_list_font_options( CONFIG_FLOAT( settings->video.msg_pos_y, - "video_message_pos_y", - "OSD Message Y Position", + menu_hash_to_str(MENU_LABEL_VIDEO_MESSAGE_POS_Y), + menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_MESSAGE_POS_Y), message_pos_offset_y, "%.3f", group_info.name,