From d4eee8156366a03c4d704374394b07472a023b89 Mon Sep 17 00:00:00 2001 From: Craftyawesome Date: Sun, 26 Jan 2025 23:36:47 -0500 Subject: [PATCH] fix saved resolution being ignored with autores off --- src/screen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/screen.c b/src/screen.c index 0aa4c27f7b..bd0b762c1e 100644 --- a/src/screen.c +++ b/src/screen.c @@ -302,8 +302,10 @@ void SCR_CheckDefaultMode(void) CONS_Printf(M_GetText("Windowed resolution: %d x %d\n"), cv_scr_width_w.value, cv_scr_height_w.value); CONS_Printf(M_GetText("Default bit depth: %d bits\n"), cv_scr_depth.value); #ifdef __SWITCH__ - updateRes(1); - return; + if (cv_autores.value) { + updateRes(1); + return; + } #endif if (cv_fullscreen.value) setmodeneeded = VID_GetModeForSize(cv_scr_width.value, cv_scr_height.value) + 1; // see note above