mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-27 01:05:07 +02:00
This should handle high and low DPI cases correctly, to avoid making the text unreadably small.
17 lines
305 B
C++
17 lines
305 B
C++
#include "base/display.h"
|
|
|
|
int dp_xres;
|
|
int dp_yres;
|
|
|
|
int pixel_xres;
|
|
int pixel_yres;
|
|
|
|
int g_dpi = 1; // will be overwritten
|
|
float g_dpi_scale = 1.0f;
|
|
float g_dpi_scale_real = 1.0f;
|
|
float pixel_in_dps = 1.0f;
|
|
float display_hz = 60.0f;
|
|
|
|
DisplayRotation g_display_rotation;
|
|
Matrix4x4 g_display_rot_matrix;
|