mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-04 19:42:07 +00:00
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:
parent
73118dcb98
commit
0a55657bd2
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
@ -99,4 +99,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"controller_config": []
|
"controller_config": []
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
@ -1485,4 +1485,4 @@
|
||||||
"default": []
|
"default": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue