mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Symbian DPI
This commit is contained in:
parent
f6a5402cef
commit
edd712c65d
1 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,11 @@ void UpdateScreenScale(int width, int height) {
|
||||||
pixel_yres = height;
|
pixel_yres = height;
|
||||||
g_dpi = 72;
|
g_dpi = 72;
|
||||||
g_dpi_scale = 1.0f;
|
g_dpi_scale = 1.0f;
|
||||||
|
#ifdef __SYMBIAN32__
|
||||||
|
dp_xres *= 1.4f;
|
||||||
|
dp_yres *= 1.4f;
|
||||||
|
g_dpi_scale = 1.4f;
|
||||||
|
#endif
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (pixel_xres < 480 + 80) {
|
if (pixel_xres < 480 + 80) {
|
||||||
dp_xres *= 2;
|
dp_xres *= 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue