yuzu_cmd/config: Add Accelerate ASTC and missing NVDEC emulation settings
This commit is contained in:
parent
b2955479e5
commit
f9bfeaa2bc
|
@ -447,8 +447,10 @@ void Config::ReadValues() {
|
||||||
sdl2_config->GetBoolean("Renderer", "use_assembly_shaders", true));
|
sdl2_config->GetBoolean("Renderer", "use_assembly_shaders", true));
|
||||||
Settings::values.use_asynchronous_shaders.SetValue(
|
Settings::values.use_asynchronous_shaders.SetValue(
|
||||||
sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false));
|
sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false));
|
||||||
Settings::values.use_asynchronous_shaders.SetValue(
|
Settings::values.use_nvdec_emulation.SetValue(
|
||||||
sdl2_config->GetBoolean("Renderer", "use_asynchronous_shaders", false));
|
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(
|
Settings::values.use_fast_gpu_time.SetValue(
|
||||||
sdl2_config->GetBoolean("Renderer", "use_fast_gpu_time", true));
|
sdl2_config->GetBoolean("Renderer", "use_fast_gpu_time", true));
|
||||||
|
|
||||||
|
|
|
@ -194,6 +194,14 @@ use_assembly_shaders =
|
||||||
# 0 (default): Off, 1: On
|
# 0 (default): Off, 1: On
|
||||||
use_asynchronous_shaders =
|
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
|
# Turns on the frame limiter, which will limit frames output to the target game speed
|
||||||
# 0: Off, 1: On (default)
|
# 0: Off, 1: On (default)
|
||||||
use_frame_limit =
|
use_frame_limit =
|
||||||
|
|
Reference in New Issue