diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-16 20:29:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 20:29:10 +0200 |
commit | 973bf306edda84e730d56dd73a04c7bbd20d9397 (patch) | |
tree | 4d64ac6f6de8e7a2eeeeeba9bd850b7924e46a6b /src/common | |
parent | Merge pull request #6460 from Morph1984/fs-access-log-fix (diff) | |
parent | astc_decoder: Fix LDR CEM1 endpoint calculation (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/common/settings.cpp | 2 | ||||
-rw-r--r-- | src/common/settings.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 360e878d6..9ec71eced 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -55,6 +55,7 @@ void LogSettings() { log_setting("Renderer_UseAsynchronousGpuEmulation", values.use_asynchronous_gpu_emulation.GetValue()); log_setting("Renderer_UseNvdecEmulation", values.use_nvdec_emulation.GetValue()); + log_setting("Renderer_AccelerateASTC", values.accelerate_astc.GetValue()); log_setting("Renderer_UseVsync", values.use_vsync.GetValue()); log_setting("Renderer_UseAssemblyShaders", values.use_assembly_shaders.GetValue()); log_setting("Renderer_UseAsynchronousShaders", values.use_asynchronous_shaders.GetValue()); @@ -135,6 +136,7 @@ void RestoreGlobalState(bool is_powered_on) { values.gpu_accuracy.SetGlobal(true); values.use_asynchronous_gpu_emulation.SetGlobal(true); values.use_nvdec_emulation.SetGlobal(true); + values.accelerate_astc.SetGlobal(true); values.use_vsync.SetGlobal(true); values.use_assembly_shaders.SetGlobal(true); values.use_asynchronous_shaders.SetGlobal(true); diff --git a/src/common/settings.h b/src/common/settings.h index bf34f2b5b..6198f2d9f 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -147,6 +147,7 @@ struct Values { Setting<GPUAccuracy> gpu_accuracy; Setting<bool> use_asynchronous_gpu_emulation; Setting<bool> use_nvdec_emulation; + Setting<bool> accelerate_astc; Setting<bool> use_vsync; Setting<bool> use_assembly_shaders; Setting<bool> use_asynchronous_shaders; |