summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-25 06:29:29 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:06:03 +0200
commitf0ed20c8a26fb95882fa6a2224ea2ad4efa473c4 (patch)
tree55edff68d29635a232bf46dab8ea839c52c81880 /src/android
parentandroid: Enable onBackInvokedCallback (diff)
downloadyuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.gz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.bz2
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.lz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.xz
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.tar.zst
yuzu-f0ed20c8a26fb95882fa6a2224ea2ad4efa473c4.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/jni/config.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp
index d28f955df..b3aa9071b 100644
--- a/src/android/app/src/main/jni/config.cpp
+++ b/src/android/app/src/main/jni/config.cpp
@@ -215,7 +215,6 @@ void Config::ReadValues() {
ReadSetting("Renderer", Settings::values.nvdec_emulation);
ReadSetting("Renderer", Settings::values.use_fast_gpu_time);
ReadSetting("Renderer", Settings::values.use_vulkan_driver_pipeline_cache);
- ReadSetting("Renderer", Settings::values.async_presentation);
// Use GPU accuracy normal by default on Android
Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger(
@@ -235,6 +234,9 @@ void Config::ReadValues() {
// Disable ASTC compute by default on Android
Settings::values.accelerate_astc = config->GetBoolean("Renderer", "accelerate_astc", false);
+ // Enable asynchronous presentation by default on Android
+ Settings::values.async_presentation = config->GetBoolean("Renderer", "async_presentation", true);
+
// Enable force_max_clock by default on Android
Settings::values.renderer_force_max_clock =
config->GetBoolean("Renderer", "force_max_clock", true);