aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Configuration/ConfigurationState.cs
diff options
context:
space:
mode:
authorEmulationFanatic <62343878+EmulationFanatic@users.noreply.github.com>2021-01-01 07:36:47 -0700
committerGitHub <noreply@github.com>2021-01-01 15:36:47 +0100
commit0a55657bd28251ed94e2a4fc5909117146117fe1 (patch)
treefaa2fdb3c090503410e8bbed614547c52f6cdefe /Ryujinx.Common/Configuration/ConfigurationState.cs
parent73118dcb989425ed0ea255d3419028ec21fa23e8 (diff)
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.
Diffstat (limited to 'Ryujinx.Common/Configuration/ConfigurationState.cs')
-rw-r--r--Ryujinx.Common/Configuration/ConfigurationState.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Common/Configuration/ConfigurationState.cs b/Ryujinx.Common/Configuration/ConfigurationState.cs
index e822dcf6..4457eb36 100644
--- a/Ryujinx.Common/Configuration/ConfigurationState.cs
+++ b/Ryujinx.Common/Configuration/ConfigurationState.cs
@@ -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;
}