mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
1 parent
d4f5bff360
commit
f65a8aa743
1 file changed
+7
@@ -254,6 +254,13 @@ std::string NativeQueryConfig(std::string query) {
|
||||
return std::string(temp);
|
||||
} else if (query == "sustainedPerformanceMode") {
|
||||
return std::string(g_Config.bSustainedPerformanceMode ? "1" : "0");
|
||||
} else if (query == "androidJavaGL") {
|
||||
// If we're using Vulkan, we say no... need C++ to use Vulkan.
|
||||
if (GetGPUBackend() == GPUBackend::VULKAN) {
|
||||
return "false";
|
||||
}
|
||||
// Otherwise, some devices prefer the Java init so play it safe.
|
||||
return "true";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user