From 33046acd82c862ccd498eec2daf458edc85ba519 Mon Sep 17 00:00:00 2001 From: Daniel Cook <87423173+DCFUKSURMOM@users.noreply.github.com> Date: Sat, 15 Feb 2025 17:17:58 -0600 Subject: [PATCH] ui: Add 720x480 resolution to Window size options --- config_spec.yml | 2 +- ui/xemu.c | 1 + ui/xui/main-menu.cc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config_spec.yml b/config_spec.yml index 9d96b1f48f..d013c806ac 100644 --- a/config_spec.yml +++ b/config_spec.yml @@ -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 diff --git a/ui/xemu.c b/ui/xemu.c index 645081d7e8..b602d25c09 100644 --- a/ui/xemu.c +++ b/ui/xemu.c @@ -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}, diff --git a/ui/xui/main-menu.cc b/ui/xui/main-menu.cc index d34c08b00e..d68138dceb 100644 --- a/ui/xui/main-menu.cc +++ b/ui/xui/main-menu.cc @@ -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"