diff options
| author | 2020-03-07 22:28:35 -0500 | |
|---|---|---|
| committer | 2020-03-07 22:28:35 -0500 | |
| commit | 84e9f9f39599b7af69c02ea17a95aa7216489fc5 (patch) | |
| tree | 3a5d70ee520db322151d722874288451a4350a22 /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #3481 from ReinUsesLisp/abgr5-storage (diff) | |
| parent | Create an "Advanced" tab in the graphics configuration tab and add anisotropi... (diff) | |
| download | yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.gz yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.xz yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.zip | |
Merge pull request #3452 from Morph1984/anisotropic-filtering
frontend/Graphics: Add "Advanced" graphics tab and experimental Anisotropic Filtering support
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index b77c12baf..907abaa51 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -381,6 +381,8 @@ void Config::ReadValues() { | |||
| 381 | static_cast<float>(sdl2_config->GetReal("Renderer", "resolution_factor", 1.0)); | 381 | static_cast<float>(sdl2_config->GetReal("Renderer", "resolution_factor", 1.0)); |
| 382 | Settings::values.aspect_ratio = | 382 | Settings::values.aspect_ratio = |
| 383 | static_cast<int>(sdl2_config->GetInteger("Renderer", "aspect_ratio", 0)); | 383 | static_cast<int>(sdl2_config->GetInteger("Renderer", "aspect_ratio", 0)); |
| 384 | Settings::values.max_anisotropy = | ||
| 385 | static_cast<int>(sdl2_config->GetInteger("Renderer", "max_anisotropy", 0)); | ||
| 384 | Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true); | 386 | Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true); |
| 385 | Settings::values.frame_limit = | 387 | Settings::values.frame_limit = |
| 386 | static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)); | 388 | static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)); |