Files
ppsspp/base/display.cpp
T
Henrik Rydgård c960fdb0b2 Add a new "queryConfig" native android function, so that the Java code can check
config options like rotation lock (config is implemented on the C++ side).
2014-02-04 12:07:17 +01:00

12 lines
179 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 pixel_in_dps = 1.0f;