Revert "Get rid of remains of support for non-square screen DPIs"

This reverts commit f206ed95eb.
This commit is contained in:
Henrik Rydgård committed 2025-05-21 21:41:50 +02:00
1 parent 53f8c32309
commit 09e067c6e1
31 files changed
+151 -132

No files matched your search

+1 -1
View File
@@ -255,7 +255,7 @@ void CMemoryDlg::Goto(u32 addr)
void CMemoryDlg::Size()
{
const float fontScale = 1.0f / g_display.dpi_scale_real;
const float fontScale = 1.0f / g_display.dpi_scale_real_y;
GetClientRect(m_hDlg,&winRect);
int dlg_w = winRect.right - winRect.left;