ui: Add 720x480 resolution to Window size options

This commit is contained in:
Daniel Cook 2025-02-15 17:17:58 -06:00 committed by GitHub
parent de1f311efa
commit 33046acd82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -151,7 +151,7 @@ display:
fullscreen_exclusive: bool
startup_size:
type: enum
values: [last_used, 640x480, 1280x720, 1280x800, 1280x960, 1920x1080, 2560x1440, 2560x1600, 2560x1920, 3840x2160]
values: [last_used, 640x480, 720x480, 1280x720, 1280x800, 1280x960, 1920x1080, 2560x1440, 2560x1600, 2560x1920, 3840x2160]
default: 1280x960
last_width:
type: integer

View File

@ -731,6 +731,7 @@ static void sdl2_display_very_early_init(DisplayOptions *o)
const int res_table[][2] = {
{640, 480},
{720, 480},
{1280, 720},
{1280, 800},
{1280, 960},

View File

@ -525,6 +525,7 @@ void MainMenuDisplayView::Draw()
if (ChevronCombo("Window size", &g_config.display.window.startup_size,
"Last Used\0"
"640x480\0"
"720x480\0"
"1280x720\0"
"1280x800\0"
"1280x960\0"