summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-02-24 01:01:17 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-02-28 03:34:00 +0100
commit7ee606517875f0d12d4c75c5c807f4b6a8ffcf58 (patch)
treee0c23b4c540868b9c44b383dd5ea963fd3a748f3 /src/yuzu_cmd/config.cpp
parentMerge pull request #3430 from bunnei/split-presenter (diff)
downloadyuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.gz
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.bz2
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.lz
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.xz
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.zst
yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp2
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() {
static_cast<float>(sdl2_config->GetReal("Renderer", "resolution_factor", 1.0));
Settings::values.aspect_ratio =
static_cast<int>(sdl2_config->GetInteger("Renderer", "aspect_ratio", 0));
+ Settings::values.max_anisotropy =
+ static_cast<int>(sdl2_config->GetInteger("Renderer", "max_anisotropy", 0));
Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true);
Settings::values.frame_limit =
static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100));