Skip to content

Commit

Permalink
block changing res with autores on with message
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftyawesome committed Jan 27, 2025
1 parent d4eee81 commit 4fa16af
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -14021,6 +14021,12 @@ static modedesc_t modedescs[MAXMODEDESCS];

static void M_VideoModeMenu(INT32 choice)
{
#ifdef __SWITCH__
if (cv_autores.value) {
M_StartMessage("Turn off auto resolution to set a resolution.\n",NULL,MM_NOTHING);
return;
}
#endif
INT32 i, j, vdup, nummodes, width, height;
const char *desc;

Expand Down Expand Up @@ -14107,11 +14113,6 @@ static void M_DrawMainVideoMenu(void)
// Draw the video modes list, a-la-Quake
static void M_DrawVideoMode(void)
{
#ifdef __SWITCH__
if (cv_autores.value) {
M_SetupNextMenu(currentMenu->prevMenu);
}
#endif
INT32 i, j, row, col;

// draw title
Expand Down

0 comments on commit 4fa16af

Please sign in to comment.