mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 21:46:23 +02:00
Disable Android HW scale on TV type devices.
This commit is contained in:
1 parent
80538b093e
commit
83bf001a31
3 files changed
+14
-8
No files matched your search
@@ -224,6 +224,10 @@ std::string NativeQueryConfig(std::string query) {
|
||||
return std::string(g_Config.bImmersiveMode ? "1" : "0");
|
||||
} else if (query == "hwScale") {
|
||||
int scale = g_Config.iAndroidHwScale;
|
||||
// Override hw scale for TV type devices.
|
||||
if (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_TV)
|
||||
scale = 0;
|
||||
|
||||
if (scale == 1) {
|
||||
// If g_Config.iInternalResolution is also set to Auto (1), we fall back to "Device resolution" (0). It works out.
|
||||
scale = g_Config.iInternalResolution;
|
||||
|
||||
Reference in new issue
Block a user