diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-18 21:51:42 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-22 17:36:04 +0200 |
commit | 084ceb925acad470b69467d64e4dfbb3bd7ef3f1 (patch) | |
tree | 3e4dcc3a3671b85cb3ac5f812159974c006e3c47 /src/yuzu_cmd | |
parent | Merge pull request #3714 from lioncash/copies (diff) | |
download | yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar.gz yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar.bz2 yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar.lz yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar.xz yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.tar.zst yuzu-084ceb925acad470b69467d64e4dfbb3bd7ef3f1.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 4 | ||||
-rw-r--r-- | src/yuzu_cmd/default_ini.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 80341747f..d1ac354bf 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -388,8 +388,8 @@ void Config::ReadValues() { static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)); Settings::values.use_disk_shader_cache = sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", false); - Settings::values.use_accurate_gpu_emulation = - sdl2_config->GetBoolean("Renderer", "use_accurate_gpu_emulation", false); + const int gpu_accuracy_level = sdl2_config->GetInteger("Renderer", "gpu_accuracy", 0); + Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(gpu_accuracy_level); Settings::values.use_asynchronous_gpu_emulation = sdl2_config->GetBoolean("Renderer", "use_asynchronous_gpu_emulation", false); Settings::values.use_vsync = diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 171d16fa0..60b1a62fa 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h @@ -146,9 +146,9 @@ frame_limit = # 0 (default): Off, 1 : On use_disk_shader_cache = -# Whether to use accurate GPU emulation -# 0 (default): Off (fast), 1 : On (slow) -use_accurate_gpu_emulation = +# Which gpu accuracy level to use +# 0 (Normal), 1 (High), 2 (Extreme) +gpu_accuracy = # Whether to use asynchronous GPU emulation # 0 : Off (slow), 1 (default): On (fast) |