Remove an unmotivated ifdef. Additional cleanup

This commit is contained in:
Henrik Rydgård committed 2020-10-22 00:10:21 +02:00
1 parent 3a870a9d81
commit 43ce4e7493
4 files changed
+3 -26

No files matched your search

+1 -11
View File
@@ -538,16 +538,6 @@ void SystemInfoScreen::CreateViews() {
deviceSpecs->Add(new InfoItem(si->T("Refresh rate"), StringFromFormat("%0.3f Hz", (float)System_GetPropertyFloat(SYSPROP_DISPLAY_REFRESH_RATE))));
#endif
#if 0
// For debugging, DO NOT translate
deviceSpecs->Add(new InfoItem("Resolution1",
StringFromFormat("dp: %dx%d px: %dx%d dpi_s: %0.1fx%0.1f",
dp_xres, dp_yres, pixel_xres, pixel_yres, g_dpi_scale_x, g_dpi_scale_y)));
deviceSpecs->Add(new InfoItem("Resolution2",
StringFromFormat("dpi_s_r: %0.1fx%0.1f px_in_dp: %0.1fx%0.1f",
g_dpi_scale_real_x, g_dpi_scale_real_y, pixel_in_dps_x, pixel_in_dps_y)));
#endif
deviceSpecs->Add(new ItemHeader(si->T("Version Information")));
std::string apiVersion;
if (GetGPUBackend() == GPUBackend::OPENGL) {
@@ -564,7 +554,7 @@ void SystemInfoScreen::CreateViews() {
deviceSpecs->Add(new InfoItem(si->T("API Version"), apiVersion));
deviceSpecs->Add(new InfoItem(si->T("Shading Language"), draw->GetInfoString(InfoField::SHADELANGVERSION)));
#ifdef __ANDROID__
#if PPSSPP_PLATFORM(ANDROID)
std::string moga = System_GetProperty(SYSPROP_MOGA_VERSION);
if (moga.empty()) {
moga = si->T("(none detected)");