From 321bb5a17f17739f554078261c7f86e58e2f89bc Mon Sep 17 00:00:00 2001 From: swurl Date: Thu, 5 Jun 2025 15:14:56 -0400 Subject: [PATCH] update default settings, warn about memory layout Signed-off-by: swurl --- src/android/app/src/main/res/values/strings.xml | 2 +- src/common/settings.h | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index ed5dfca596..c22018882d 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -79,7 +79,7 @@ CPU Clock Use Boost (1700MHz) to run at the Switch\'s highest native clock, or Fast (2000MHz) to run at 2x clock. Memory Layout - (EXPERIMENTAL) Change the emulated memory layout. This setting will not increase performance, but may help with games utilizing high resolutions via mods. Do not use on phones with 8GB of RAM or less. + (EXPERIMENTAL) Change the emulated memory layout. This setting will not increase performance, but may help with games utilizing high resolutions via mods. Do not use on phones with 8GB of RAM or less. Only works on the Dynarmic (JIT) backend. Shader Backend diff --git a/src/common/settings.h b/src/common/settings.h index 8c62716ba7..158d6f8074 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -47,6 +47,7 @@ struct ResolutionScalingInfo { #ifndef CANNOT_EXPLICITLY_INSTANTIATE // Instantiate the classes elsewhere (settings.cpp) to reduce compiler/linker work +// TODO(crueter): Move new enums here #define SETTING(TYPE, RANGED) extern template class Setting #define SWITCHABLE(TYPE, RANGED) extern template class SwitchableSetting @@ -446,7 +447,7 @@ struct Values { SwitchableSetting use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders", Category::RendererAdvanced}; SwitchableSetting use_fast_gpu_time{linkage, - true, + false, "use_fast_gpu_time", Category::RendererAdvanced, Specialization::Paired, @@ -454,7 +455,7 @@ struct Values { true}; SwitchableSetting fast_gpu_time{linkage, - GpuOverclock::Medium, + GpuOverclock::Low, "fast_gpu_time", Category::RendererAdvanced, Specialization::Default, @@ -484,8 +485,8 @@ struct Values { Category::RendererExtensions, Specialization::Scalar}; - SwitchableSetting provoking_vertex{linkage, true, "provoking_vertex", Category::RendererExtensions}; - SwitchableSetting descriptor_indexing{linkage, true, "descriptor_indexing", Category::RendererExtensions}; + SwitchableSetting provoking_vertex{linkage, false, "provoking_vertex", Category::RendererExtensions}; + SwitchableSetting descriptor_indexing{linkage, false, "descriptor_indexing", Category::RendererExtensions}; Setting renderer_debug{linkage, false, "debug", Category::RendererDebug}; Setting renderer_shader_feedback{linkage, false, "shader_feedback",