android: settings: Disable force_max_clock by default.

This commit is contained in:
bunnei 2023-06-12 17:57:48 -07:00
parent f8a33f85ef
commit bcdd35e8be
3 changed files with 5 additions and 5 deletions

View file

@ -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",

View file

@ -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);

View file

@ -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 =