mirror of https://github.com/xemu-project/xemu.git
ui: Add 720x480 resolution to Window size options
This commit is contained in:
parent
de1f311efa
commit
33046acd82
|
@ -151,7 +151,7 @@ display:
|
||||||
fullscreen_exclusive: bool
|
fullscreen_exclusive: bool
|
||||||
startup_size:
|
startup_size:
|
||||||
type: enum
|
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
|
default: 1280x960
|
||||||
last_width:
|
last_width:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
@ -731,6 +731,7 @@ static void sdl2_display_very_early_init(DisplayOptions *o)
|
||||||
|
|
||||||
const int res_table[][2] = {
|
const int res_table[][2] = {
|
||||||
{640, 480},
|
{640, 480},
|
||||||
|
{720, 480},
|
||||||
{1280, 720},
|
{1280, 720},
|
||||||
{1280, 800},
|
{1280, 800},
|
||||||
{1280, 960},
|
{1280, 960},
|
||||||
|
|
|
@ -525,6 +525,7 @@ void MainMenuDisplayView::Draw()
|
||||||
if (ChevronCombo("Window size", &g_config.display.window.startup_size,
|
if (ChevronCombo("Window size", &g_config.display.window.startup_size,
|
||||||
"Last Used\0"
|
"Last Used\0"
|
||||||
"640x480\0"
|
"640x480\0"
|
||||||
|
"720x480\0"
|
||||||
"1280x720\0"
|
"1280x720\0"
|
||||||
"1280x800\0"
|
"1280x800\0"
|
||||||
"1280x960\0"
|
"1280x960\0"
|
||||||
|
|
Loading…
Reference in New Issue