summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-06-16 20:29:10 +0200
committerGitHub <noreply@github.com>2021-06-16 20:29:10 +0200
commit973bf306edda84e730d56dd73a04c7bbd20d9397 (patch)
tree4d64ac6f6de8e7a2eeeeeba9bd850b7924e46a6b /src/yuzu_cmd
parentMerge pull request #6460 from Morph1984/fs-access-log-fix (diff)
parentastc_decoder: Fix LDR CEM1 endpoint calculation (diff)
downloadyuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar.gz
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar.bz2
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar.lz
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar.xz
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.tar.zst
yuzu-973bf306edda84e730d56dd73a04c7bbd20d9397.zip
Diffstat (limited to 'src/yuzu_cmd')
-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 107f097d0..621b31571 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 c32421671..efa1b1d18 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 =