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 2021-01-01 07:36:47 -07:00 committed by GitHub
parent 73118dcb98
commit 0a55657bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -477,7 +477,7 @@ namespace Ryujinx.Configuration
CheckUpdatesOnStart.Value = true; CheckUpdatesOnStart.Value = true;
Graphics.EnableVsync.Value = true; Graphics.EnableVsync.Value = true;
Graphics.EnableShaderCache.Value = true; Graphics.EnableShaderCache.Value = true;
System.EnablePtc.Value = false; System.EnablePtc.Value = true;
System.EnableFsIntegrityChecks.Value = true; System.EnableFsIntegrityChecks.Value = true;
System.FsGlobalAccessLogMode.Value = 0; System.FsGlobalAccessLogMode.Value = 0;
System.AudioBackend.Value = AudioBackend.OpenAl; 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."); Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 8.");
configurationFileFormat.EnablePtc = false; configurationFileFormat.EnablePtc = true;
configurationFileUpdated = true; configurationFileUpdated = true;
} }

View file

@ -23,7 +23,7 @@
"check_updates_on_start": true, "check_updates_on_start": true,
"enable_vsync": true, "enable_vsync": true,
"enable_shader_cache": true, "enable_shader_cache": true,
"enable_ptc": false, "enable_ptc": true,
"enable_fs_integrity_checks": true, "enable_fs_integrity_checks": true,
"fs_global_access_log_mode": 0, "fs_global_access_log_mode": 0,
"audio_backend": "OpenAl", "audio_backend": "OpenAl",

View file

@ -1215,7 +1215,7 @@
"type": "boolean", "type": "boolean",
"title": "Enable Profiled Persistent Translation Cache", "title": "Enable Profiled Persistent Translation Cache",
"description": "Enables or disables profiled translation cache persistency", "description": "Enables or disables profiled translation cache persistency",
"default": false, "default": true,
"examples": [ "examples": [
true, true,
false false