summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-06-13 02:57:48 +0200
committerbunnei <bunneidev@gmail.com>2023-06-13 02:57:48 +0200
commitbcdd35e8be0ed3a173d92e02048b6236757b65ce (patch)
treefb657490d798144ac52b4b93260ca8b22407e330
parentandroid: settings: Add reactive flushing as a default-disabled setting. (diff)
downloadyuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar.gz
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar.bz2
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar.lz
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar.xz
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.tar.zst
yuzu-bcdd35e8be0ed3a173d92e02048b6236757b65ce.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt2
-rw-r--r--src/android/app/src/main/jni/config.cpp6
-rw-r--r--src/android/app/src/main/jni/default_ini.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
index 2178746d6..fa84f94f5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
@@ -26,7 +26,7 @@ enum class IntSetting(
RENDERER_FORCE_MAX_CLOCK(
"force_max_clock",
Settings.SECTION_RENDERER,
- 1
+ 0
),
RENDERER_ASYNCHRONOUS_SHADERS(
"use_asynchronous_shaders",
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp
index e0b4772da..43e8aa72a 100644
--- a/src/android/app/src/main/jni/config.cpp
+++ b/src/android/app/src/main/jni/config.cpp
@@ -235,13 +235,13 @@ void Config::ReadValues() {
Settings::values.async_presentation =
config->GetBoolean("Renderer", "async_presentation", true);
- // Enable force_max_clock by default on Android
+ // Disable force_max_clock by default on Android
Settings::values.renderer_force_max_clock =
- config->GetBoolean("Renderer", "force_max_clock", true);
+ config->GetBoolean("Renderer", "force_max_clock", false);
// Disable use_reactive_flushing by default on Android
Settings::values.use_reactive_flushing =
- config->GetBoolean("Renderer", "use_reactive_flushing", false);
+ config->GetBoolean("Renderer", "use_reactive_flushing", false);
// Audio
ReadSetting("Audio", Settings::values.sink_id);
diff --git a/src/android/app/src/main/jni/default_ini.h b/src/android/app/src/main/jni/default_ini.h
index c92998858..d81422a74 100644
--- a/src/android/app/src/main/jni/default_ini.h
+++ b/src/android/app/src/main/jni/default_ini.h
@@ -251,7 +251,7 @@ backend =
# 0: Off, 1 (default): On
async_presentation =
-# Enable graphics API debugging mode.
+# Forces the GPU to run at the maximum possible clocks (thermal constraints will still be applied).
# 0 (default): Disabled, 1: Enabled
force_max_clock =