Skip to content

Commit

Permalink
fix saved resolution being ignored with autores off
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftyawesome committed Jan 27, 2025
1 parent 4b974bf commit d4eee81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4eee81

Please sign in to comment.