Remove useless sublabel from System Information (#14632)

This commit is contained in:
sonninnos 2022-11-16 11:36:54 +02:00 committed by GitHub
parent ff5e0220c3
commit b080b39d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 11 deletions

View File

@ -610,13 +610,9 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_CPU_ARCHITECTURE,
"CPU Architecture"
)
MSG_HASH( /* FIXME Colon should be handled in menu_display.c like the rest */
MENU_ENUM_LABEL_VALUE_CPU_CORES,
"CPU Cores:"
)
MSG_HASH(
MENU_ENUM_SUBLABEL_CPU_CORES,
"Amount of cores that the CPU has."
MENU_ENUM_LABEL_VALUE_CPU_CORES,
"CPU Cores"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_SYSTEM_INFO_FRONTEND_IDENTIFIER,

View File

@ -440,7 +440,6 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_frame_delay, MENU_
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_frame_delay_auto, MENU_ENUM_SUBLABEL_VIDEO_FRAME_DELAY_AUTO)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_shader_delay, MENU_ENUM_SUBLABEL_VIDEO_SHADER_DELAY)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_black_frame_insertion, MENU_ENUM_SUBLABEL_VIDEO_BLACK_FRAME_INSERTION)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_systeminfo_cpu_cores, MENU_ENUM_SUBLABEL_CPU_CORES)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_toggle_gamepad_combo, MENU_ENUM_SUBLABEL_INPUT_MENU_ENUM_TOGGLE_GAMEPAD_COMBO)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_quit_gamepad_combo, MENU_ENUM_SUBLABEL_INPUT_QUIT_GAMEPAD_COMBO)
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_show_hidden_files, MENU_ENUM_SUBLABEL_SHOW_HIDDEN_FILES)
@ -4284,9 +4283,6 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
case MENU_ENUM_LABEL_INPUT_QUIT_GAMEPAD_COMBO:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_quit_gamepad_combo);
break;
case MENU_ENUM_LABEL_CPU_CORES:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_systeminfo_cpu_cores);
break;
case MENU_ENUM_LABEL_SYSTEM_INFO_CONTROLLER_ENTRY:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_systeminfo_controller_entry);
break;

View File

@ -1774,7 +1774,7 @@ static unsigned menu_displaylist_parse_system_info(file_list_t *list)
sizeof(cpu_str));
snprintf(cpu_str + _len,
sizeof(cpu_str) - _len,
" %d\n", amount_cores);
": %d\n", amount_cores);
if (menu_entries_append(list, cpu_str,
msg_hash_to_str(MENU_ENUM_LABEL_CPU_CORES),
MENU_ENUM_LABEL_CPU_CORES, MENU_SETTINGS_CORE_INFO_NONE, 0, 0, NULL))