mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #6499 from Tatsuya79/patch-1
Make MUI auto dpi a bit bigger for low dpi phones
This commit is contained in:
commit
0ff5631649
@ -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