mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Add submenu label for framecount and change wording
This commit is contained in:
parent
1d14512cb0
commit
f3c682186c
@ -549,7 +549,7 @@ static const int wasapi_sh_buffer_length = -16; /* auto */
|
|||||||
/* Enables displaying the current frames per second. */
|
/* Enables displaying the current frames per second. */
|
||||||
static const bool fps_show = false;
|
static const bool fps_show = false;
|
||||||
|
|
||||||
/* Show frame count on FPS display */
|
/* Enables displaying the current frame count. */
|
||||||
static const bool framecount_show = true;
|
static const bool framecount_show = true;
|
||||||
|
|
||||||
/* Enables use of rewind. This will incur some memory footprint
|
/* Enables use of rewind. This will incur some memory footprint
|
||||||
|
@ -3432,7 +3432,7 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_COLOR_GREEN,
|
|||||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_COLOR_BLUE,
|
MSG_HASH(MENU_ENUM_LABEL_VALUE_VIDEO_MESSAGE_COLOR_BLUE,
|
||||||
"Notification Blue Color")
|
"Notification Blue Color")
|
||||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
MSG_HASH(MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
||||||
"Show frame count on FPS display")
|
"Display Frame Count")
|
||||||
MSG_HASH(MSG_CONFIG_OVERRIDE_LOADED,
|
MSG_HASH(MSG_CONFIG_OVERRIDE_LOADED,
|
||||||
"Configuration override loaded.")
|
"Configuration override loaded.")
|
||||||
MSG_HASH(MSG_GAME_REMAP_FILE_LOADED,
|
MSG_HASH(MSG_GAME_REMAP_FILE_LOADED,
|
||||||
|
@ -6224,7 +6224,7 @@ MSG_HASH(
|
|||||||
)
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
||||||
"Show frame count on FPS display"
|
"Display Frame Count"
|
||||||
)
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MSG_CONFIG_OVERRIDE_LOADED,
|
MSG_CONFIG_OVERRIDE_LOADED,
|
||||||
|
@ -3630,6 +3630,10 @@ MSG_HASH(
|
|||||||
MENU_ENUM_SUBLABEL_FPS_SHOW,
|
MENU_ENUM_SUBLABEL_FPS_SHOW,
|
||||||
"Displays the current framerate per second onscreen."
|
"Displays the current framerate per second onscreen."
|
||||||
)
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_FRAMECOUNT_SHOW,
|
||||||
|
"Displays the current frame count onscreen."
|
||||||
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS,
|
MENU_ENUM_SUBLABEL_INPUT_HOTKEY_BINDS,
|
||||||
"Configure hotkey settings."
|
"Configure hotkey settings."
|
||||||
@ -6265,7 +6269,7 @@ MSG_HASH(
|
|||||||
)
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
MENU_ENUM_LABEL_VALUE_FRAMECOUNT_SHOW,
|
||||||
"Show frame count on FPS display"
|
"Display Frame Count"
|
||||||
)
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MSG_CONFIG_OVERRIDE_LOADED,
|
MSG_CONFIG_OVERRIDE_LOADED,
|
||||||
|
@ -124,6 +124,7 @@ default_sublabel_macro(action_bind_sublabel_user_language, MENU_
|
|||||||
default_sublabel_macro(action_bind_sublabel_max_swapchain_images, MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES )
|
default_sublabel_macro(action_bind_sublabel_max_swapchain_images, MENU_ENUM_SUBLABEL_VIDEO_MAX_SWAPCHAIN_IMAGES )
|
||||||
default_sublabel_macro(action_bind_sublabel_online_updater, MENU_ENUM_SUBLABEL_ONLINE_UPDATER)
|
default_sublabel_macro(action_bind_sublabel_online_updater, MENU_ENUM_SUBLABEL_ONLINE_UPDATER)
|
||||||
default_sublabel_macro(action_bind_sublabel_fps_show, MENU_ENUM_SUBLABEL_FPS_SHOW)
|
default_sublabel_macro(action_bind_sublabel_fps_show, MENU_ENUM_SUBLABEL_FPS_SHOW)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_framecount_show, MENU_ENUM_SUBLABEL_FRAMECOUNT_SHOW)
|
||||||
default_sublabel_macro(action_bind_sublabel_statistics_show, MENU_ENUM_SUBLABEL_STATISTICS_SHOW)
|
default_sublabel_macro(action_bind_sublabel_statistics_show, MENU_ENUM_SUBLABEL_STATISTICS_SHOW)
|
||||||
default_sublabel_macro(action_bind_sublabel_netplay_settings, MENU_ENUM_SUBLABEL_NETPLAY)
|
default_sublabel_macro(action_bind_sublabel_netplay_settings, MENU_ENUM_SUBLABEL_NETPLAY)
|
||||||
default_sublabel_macro(action_bind_sublabel_user_bind_settings, MENU_ENUM_SUBLABEL_INPUT_USER_BINDS)
|
default_sublabel_macro(action_bind_sublabel_user_bind_settings, MENU_ENUM_SUBLABEL_INPUT_USER_BINDS)
|
||||||
@ -1873,6 +1874,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
|||||||
case MENU_ENUM_LABEL_FPS_SHOW:
|
case MENU_ENUM_LABEL_FPS_SHOW:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_fps_show);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_fps_show);
|
||||||
break;
|
break;
|
||||||
|
case MENU_ENUM_LABEL_FRAMECOUNT_SHOW:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_framecount_show);
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_MENU_VIEWS_SETTINGS:
|
case MENU_ENUM_LABEL_MENU_VIEWS_SETTINGS:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_views_settings_list);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_views_settings_list);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user