forked from ShuriZma/suyu
1
0
Fork 0

android: config: Disable shader cache by default on Android.

This commit is contained in:
bunnei 2023-03-28 19:25:58 -07:00
parent a862c33fc4
commit 58ede89c60
1 changed files with 4 additions and 0 deletions

View File

@ -222,6 +222,10 @@ void Config::ReadValues() {
ReadSetting("Renderer", Settings::values.bg_green); ReadSetting("Renderer", Settings::values.bg_green);
ReadSetting("Renderer", Settings::values.bg_blue); ReadSetting("Renderer", Settings::values.bg_blue);
// Disable shader cache by default on Android
Settings::values.use_disk_shader_cache =
config->GetBoolean("Renderer", "use_disk_shader_cache", false);
// Enable force_max_clock by default on Android // Enable force_max_clock by default on Android
Settings::values.renderer_force_max_clock = Settings::values.renderer_force_max_clock =
config->GetBoolean("Renderer", "force_max_clock", true); config->GetBoolean("Renderer", "force_max_clock", true);