mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Make MUI auto dpi a bit bigger for low dpi phones
This commit is contained in:
parent
8acc085dec
commit
74d4e6043a
@ -551,7 +551,9 @@ float menu_display_get_dpi(void)
|
||||
if (!settings)
|
||||
return true;
|
||||
|
||||
dpi = sqrt((width * width) + (height * height)) / 6.5;
|
||||
/* Generic dpi calculation formula,
|
||||
* the divider is the screen diagonal in inches */
|
||||
dpi = sqrt((width * width) + (height * height)) / 5;
|
||||
|
||||
if (settings->bools.menu_dpi_override_enable)
|
||||
return settings->uints.menu_dpi_override_value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user