(Menu) Hash update

This commit is contained in:
twinaphex 2015-06-20 00:29:07 +02:00
parent 90a77881d1
commit a39a35e41b
3 changed files with 7 additions and 2 deletions

View File

@ -193,6 +193,10 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_LABEL_VIDEO_FRAME_DELAY:
return "video_frame_delay";
case MENU_LABEL_VALUE_VIDEO_FRAME_DELAY:
return "Frame Delay";
case MENU_LABEL_VALUE_INPUT_DUTY_CYCLE:
return "Duty Cycle";
case MENU_LABEL_INPUT_DUTY_CYCLE:

View File

@ -72,6 +72,7 @@ extern "C" {
#define MENU_LABEL_VIDEO_BLACK_FRAME_INSERTION 0x53477f5cU
#define MENU_LABEL_VIDEO_HARD_SYNC_FRAMES 0xce0ece13U
#define MENU_LABEL_VIDEO_FRAME_DELAY 0xd4aa9df4U
#define MENU_LABEL_VALUE_VIDEO_FRAME_DELAY 0x990d36bfU
#define MENU_LABEL_SCREENSHOT 0x9a37f083U
#define MENU_LABEL_REWIND_GRANULARITY 0xe859cbdfU
#define MENU_LABEL_VALUE_REWIND_GRANULARITY 0x6e1ae4c0U

View File

@ -4824,8 +4824,8 @@ static bool setting_append_list_video_options(
CONFIG_UINT(
settings->video.frame_delay,
"video_frame_delay",
"Frame Delay",
menu_hash_to_str(MENU_LABEL_VIDEO_FRAME_DELAY),
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FRAME_DELAY),
frame_delay,
group_info.name,
subgroup_info.name,