diff options
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 4 |
2 files changed, 6 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)); |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index df7473858..67c5de1da 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -126,6 +126,10 @@ resolution_factor = | |||
| 126 | # 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window | 126 | # 0: Default (16:9), 1: Force 4:3, 2: Force 21:9, 3: Stretch to Window |
| 127 | aspect_ratio = | 127 | aspect_ratio = |
| 128 | 128 | ||
| 129 | # Anisotropic filtering | ||
| 130 | # 0: Default, 1: 2x, 2: 4x, 3: 8x, 4: 16x | ||
| 131 | max_anisotropy = | ||
| 132 | |||
| 129 | # Whether to enable V-Sync (caps the framerate at 60FPS) or not. | 133 | # Whether to enable V-Sync (caps the framerate at 60FPS) or not. |
| 130 | # 0 (default): Off, 1: On | 134 | # 0 (default): Off, 1: On |
| 131 | use_vsync = | 135 | use_vsync = |