Skip to content

Commit

Permalink
RGUI: Entry value cleanup (#17443)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Jan 20, 2025
1 parent 391ba55 commit 66921e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions menu/cbs/menu_cbs_get_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -2301,6 +2301,8 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
case MENU_ENUM_LABEL_SWITCH_GPU_PROFILE:
case MENU_ENUM_LABEL_REBOOT:
case MENU_ENUM_LABEL_SHUTDOWN:
case MENU_ENUM_LABEL_SAVE_CURRENT_CONFIG:
case MENU_ENUM_LABEL_SAVE_NEW_CONFIG:
case MENU_ENUM_LABEL_RESET_TO_DEFAULT_CONFIG:
case MENU_ENUM_LABEL_START_NET_RETROPAD:
case MENU_ENUM_LABEL_START_VIDEO_PROCESSOR:
Expand Down
2 changes: 2 additions & 0 deletions menu/drivers/rgui.c
Original file line number Diff line number Diff line change
Expand Up @@ -4931,6 +4931,8 @@ static enum rgui_entry_value_type rgui_get_entry_value_type(
string_is_equal(entry_value, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON)))
return RGUI_ENTRY_VALUE_SWITCH_ON;
}
else if (string_is_equal(entry_value, "(RDB)"))
return RGUI_ENTRY_VALUE_NONE;
return RGUI_ENTRY_VALUE_TEXT;
}
else if (entry_checked)
Expand Down

0 comments on commit 66921e8

Please sign in to comment.