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

This commit is contained in:
Henrik Rydgård committed 2025-02-20 11:14:26 -06:00
1 parent b4ca0984d1
commit f206ed95eb
30 files changed
+133 -147

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ CtrlDisAsmView::CtrlDisAsmView(HWND _wnd)
SetWindowLong(wnd, GWL_STYLE, GetWindowLong(wnd,GWL_STYLE) | WS_VSCROLL);
SetScrollRange(wnd, SB_VERT, -1, 1, TRUE);
const float fontScale = 1.0f / g_display.dpi_scale_real_y;
const float fontScale = 1.0f / g_display.dpi_scale_real;
charWidth = g_Config.iFontWidth * fontScale;
rowHeight = (g_Config.iFontHeight + 2) * fontScale;
int scaledFontHeight = g_Config.iFontHeight * fontScale;