From fe423d0d723df7a1258a7ded3045610febfb1c7b Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 25 Nov 2024 16:49:19 +0100 Subject: [PATCH] tr1/option: fix overlapping text with 1.9 font scale Resolves #1946. --- docs/tr1/CHANGELOG.md | 1 + src/tr1/game/option/option_graphics.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tr1/CHANGELOG.md b/docs/tr1/CHANGELOG.md index 354d0a2ca..b8a06a72f 100644 --- a/docs/tr1/CHANGELOG.md +++ b/docs/tr1/CHANGELOG.md @@ -25,6 +25,7 @@ Importantly, Asian and Arabic languages remain unsupported at the moment. - fixed invisible walls being present in front of some doors (#1948, regression from 4.6) +- fixed big font scale causing text overlaps in the graphics options (#1946) - fixed missing FMVs causing the game to go silent (#1931, regression from 4.6) - fixed game crashing when toggling the bilinear filter in passport (#1942, regression from 4.5) diff --git a/src/tr1/game/option/option_graphics.c b/src/tr1/game/option/option_graphics.c index 13d2efe28..f9b5aae18 100644 --- a/src/tr1/game/option/option_graphics.c +++ b/src/tr1/game/option/option_graphics.c @@ -129,7 +129,7 @@ static void M_InitMenu(void) static void M_UpdateMenuVisible(void) { int32_t visible_lines = 0; - if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 240) { + if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 260) { visible_lines = 8; } else if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 384) { visible_lines = 9;