Skip to content

Commit

Permalink
interlaced indication in list
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Jun 16, 2024
1 parent d736f07 commit f76f6aa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -8351,14 +8351,17 @@ unsigned menu_displaylist_build_list(
{
char val_d[256], str[256];
if (video_list[i].refreshrate_float > 0.0f)
snprintf(str, sizeof(str), "%dx%d (%.2f Hz)",
snprintf(str, sizeof(str), "%dx%d%s%s (%.2f Hz)",
video_list[i].width,
video_list[i].height,
video_list[i].interlaced ? "i":"",
video_list[i].dblscan ? "d":"",
video_list[i].refreshrate_float);
else
snprintf(str, sizeof(str), "%dx%d (%d Hz)",
snprintf(str, sizeof(str), "%dx%d%s (%d Hz)",
video_list[i].width,
video_list[i].height,
video_list[i].interlaced ? "i":"",
video_list[i].refreshrate);
snprintf(val_d, sizeof(val_d), "%d", i);
if (menu_entries_append(list,
Expand Down

0 comments on commit f76f6aa

Please sign in to comment.