summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-03-29 04:25:58 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:47 +0200
commit58ede89c60c4cf3c603cbf2186bdb143280f2d60 (patch)
treecd42c72e36b6a329182384256cfce6d0b27ac42a /src/android/app
parentandroid: Fix fps counter not showing up (diff)
downloadyuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar.gz
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar.bz2
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar.lz
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar.xz
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.tar.zst
yuzu-58ede89c60c4cf3c603cbf2186bdb143280f2d60.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/jni/config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp
index d197413b9..a9e6fcdbf 100644
--- a/src/android/app/src/main/jni/config.cpp
+++ b/src/android/app/src/main/jni/config.cpp
@@ -222,6 +222,10 @@ void Config::ReadValues() {
ReadSetting("Renderer", Settings::values.bg_green);
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
Settings::values.renderer_force_max_clock =
config->GetBoolean("Renderer", "force_max_clock", true);