Skip to content

Commit

Permalink
Fix Symbian DPI
Browse files Browse the repository at this point in the history
  • Loading branch information
xsacha committed Feb 19, 2014
1 parent f6a5402 commit edd712c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Core/Core.cpp
Expand Up @@ -109,6 +109,11 @@ void UpdateScreenScale(int width, int height) {
pixel_yres = height;
g_dpi = 72;
g_dpi_scale = 1.0f;
#ifdef __SYMBIAN32__
dp_xres *= 1.4f;
dp_yres *= 1.4f;
g_dpi_scale = 1.4f;
#endif
#ifdef _WIN32
if (pixel_xres < 480 + 80) {
dp_xres *= 2;
Expand Down

0 comments on commit edd712c

Please sign in to comment.