瀏覽代碼

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.
EmulationFanatic 5 年之前
父節點
當前提交
0a55657bd2
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 2 2
      Ryujinx.Common/Configuration/ConfigurationState.cs
  2. 2 2
      Ryujinx/Config.json
  3. 2 2
      Ryujinx/_schema.json

+ 2 - 2
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;
             }

+ 2 - 2
Ryujinx/Config.json

@@ -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
Ryujinx/_schema.json

@@ -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": []
     }
   }
-}
+}