NativeApp: add System_GetPropertyFloat all the places

This commit is contained in:
李通洲 committed 2020-02-04 09:20:34 +08:00
1 parent 0a2aa2c3af
commit 55bb58e13e
14 files changed
+113 -66

No files matched your search

+1 -1
View File
@@ -156,7 +156,7 @@ bool UpdateScreenScale(int width, int height) {
g_dpi_scale_x = g_logical_dpi / g_dpi;
g_dpi_scale_y = g_logical_dpi / g_dpi;
#elif PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP)
g_dpi = (float)System_GetPropertyInt(SYSPROP_DISPLAY_DPI);
g_dpi = System_GetPropertyFloat(SYSPROP_DISPLAY_DPI);
g_dpi_scale_x = 96.0f / g_dpi;
g_dpi_scale_y = 96.0f / g_dpi;
#else