mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 06:50:29 +02:00
Fix Symbian DPI
This commit is contained in:
1 parent
f6a5402cef
commit
edd712c65d
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user