mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add more display information to system info.
This commit is contained in:
1 parent
318ef7ccab
commit
b501abf576
3 files changed
+17
-9
No files matched your search
@@ -669,11 +669,6 @@ void TouchTestScreen::CreateViews() {
|
||||
root_->Add(new Button(di->T("Back")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
|
||||
}
|
||||
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
extern int display_xres;
|
||||
extern int display_yres;
|
||||
#endif
|
||||
|
||||
void TouchTestScreen::UpdateLogView() {
|
||||
while (keyEventLog_.size() > 8) {
|
||||
keyEventLog_.erase(keyEventLog_.begin());
|
||||
@@ -756,7 +751,7 @@ void TouchTestScreen::render() {
|
||||
"g_dpi: %0.3f g_dpi_scale: %0.3fx%0.3f\n"
|
||||
"g_dpi_scale_real: %0.3fx%0.3f\n%s",
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
display_xres, display_yres,
|
||||
System_GetPropertyInt(SYSPROP_DISPLAY_XRES), System_GetPropertyInt(SYSPROP_DISPLAY_YRES),
|
||||
#endif
|
||||
g_display.dp_xres, g_display.dp_yres,
|
||||
g_display.pixel_xres, g_display.pixel_yres,
|
||||
|
||||
Reference in new issue
Block a user