Revert "add one more intermediate font option to ROM info viewer"

This reverts commit 2646934596.

Now the correct file. :)
This commit is contained in:
thrust26 2020-03-14 23:37:18 +01:00
parent 2646934596
commit 6b59190582
1 changed files with 4 additions and 0 deletions

View File

@ -374,6 +374,10 @@ const GUI::Font& LauncherDialog::getRomInfoFont(const Common::Size& area) const
+ MIN_ROMINFO_LINES * instance().frameBuffer().launcherFont().getFontHeight())
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().launcherFont().getMaxCharWidth()))
return instance().frameBuffer().launcherFont();
else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().font().getLineHeight()
+ MIN_ROMINFO_LINES * instance().frameBuffer().font().getFontHeight())
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().font().getMaxCharWidth()))
return instance().frameBuffer().font();
else if(area.h >= uInt32(MIN_ROMINFO_ROWS * instance().frameBuffer().infoFont().getLineHeight()
+ MIN_ROMINFO_LINES * instance().frameBuffer().infoFont().getFontHeight())
&& area.w >= uInt32(MIN_ROMINFO_CHARS * instance().frameBuffer().infoFont().getMaxCharWidth()))