Better migration from play store crocus build

This commit is contained in:
SerpentSpirale 2022-04-04 20:08:44 +02:00
parent 44baff916d
commit 76c140daa2

View File

@ -409,8 +409,10 @@ public class PojavLoginActivity extends BaseActivity {
for (String version : PerVersionConfig.configMap.keySet()) {
PerVersionConfig.VersionConfig config = PerVersionConfig.configMap.get(version);
if(config == null) continue; // Skip the version
// Replaced by gl4es_extra
if(config.renderer.contains("opengles")) config.renderer = null;
if(config.renderer.contains("zink")) config.renderer = "opengles3_virgl";
if(!config.renderer.contains("virgl")) config.renderer = null;
if(config.renderer == null && config.gamePath == null &&
config.jvmArgs == null && config.selectedRuntime == null){
continue; // Empty pvc, skip it.