Enable Profiled Persistent Translation Cache (PPTC) by default (#1844)

* Enable Profiled Persistent Translation Cache (PPTC) by default

Enables PPTC by default. Enough time has passed and enough games tested that it should be the preferred setting for 99.9% of games. In case we are worried about PPTC files being put on the user's disk, shader cache already does this by default and generates about the same size files on average, so this should no longer be a concern.

* Update config.json with PTC set to true

* Updated _schema.json to set PPTC to true.
This commit is contained in:
EmulationFanatic authored and GitHub committed 2021-01-01 15:36:47 +01:00
1 parent 73118dcb98
commit 0a55657bd2
3 files changed
+6 -6

No files matched your search

@@ -477,7 +477,7 @@ namespace Ryujinx.Configuration
CheckUpdatesOnStart.Value = true;
Graphics.EnableVsync.Value = true;
Graphics.EnableShaderCache.Value = true;
System.EnablePtc.Value = false;
System.EnablePtc.Value = true;
System.EnableFsIntegrityChecks.Value = true;
System.FsGlobalAccessLogMode.Value = 0;
System.AudioBackend.Value = AudioBackend.OpenAl;
@@ -683,7 +683,7 @@ namespace Ryujinx.Configuration
{
Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 8.");
configurationFileFormat.EnablePtc = false;
configurationFileFormat.EnablePtc = true;
configurationFileUpdated = true;
}
+2 -2
View File
@@ -23,7 +23,7 @@
"check_updates_on_start": true,
"enable_vsync": true,
"enable_shader_cache": true,
"enable_ptc": false,
"enable_ptc": true,
"enable_fs_integrity_checks": true,
"fs_global_access_log_mode": 0,
"audio_backend": "OpenAl",
@@ -99,4 +99,4 @@
}
],
"controller_config": []
}
}
+2 -2
View File
@@ -1215,7 +1215,7 @@
"type": "boolean",
"title": "Enable Profiled Persistent Translation Cache",
"description": "Enables or disables profiled translation cache persistency",
"default": false,
"default": true,
"examples": [
true,
false
@@ -1485,4 +1485,4 @@
"default": []
}
}
}
}