summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-13 21:40:21 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-06-16 02:19:00 +0200
commitf9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b (patch)
tree1ffe8bb76077dc327ff2fc1d04c94b9f6ace62ab
parentconfigure_graphics: Add Accelerate ASTC decoding setting (diff)
downloadyuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar.gz
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar.bz2
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar.lz
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar.xz
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.tar.zst
yuzu-f9bfeaa2bc8d3247ca5012243bb42d8831b5dd4b.zip
-rw-r--r--src/yuzu_cmd/config.cpp6
-rw-r--r--src/yuzu_cmd/default_ini.h8
2 files changed, 12 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 63f368fe5..f5fe5668e 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -447,8 +447,10 @@ void Config::ReadValues() {
sdl2_config->GetBoolean("Renderer", "use_assembly_shaders", true));
Settings::values.use_asynchronous_shaders.SetValue(
sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false));
- Settings::values.use_asynchronous_shaders.SetValue(
- sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false));
+ Settings::values.use_nvdec_emulation.SetValue(
+ sdl2_config->GetBoolean("Renderer", "use_nvdec_emulation", true));
+ Settings::values.accelerate_astc.SetValue(
+ sdl2_config->GetBoolean("Renderer", "accelerate_astc", true));
Settings::values.use_fast_gpu_time.SetValue(
sdl2_config->GetBoolean("Renderer", "use_fast_gpu_time", true));
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index f48d935a1..9d23bd644 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -194,6 +194,14 @@ use_assembly_shaders =
# 0 (default): Off, 1: On
use_asynchronous_shaders =
+# Enable NVDEC emulation.
+# 0: Off, 1 (default): On
+use_nvdec_emulation =
+
+# Accelerate ASTC texture decoding.
+# 0: Off, 1 (default): On
+accelerate_astc =
+
# Turns on the frame limiter, which will limit frames output to the target game speed
# 0: Off, 1: On (default)
use_frame_limit =