diff options
| author | 2020-11-05 22:07:07 -0500 | |
|---|---|---|
| committer | 2020-11-05 22:07:10 -0500 | |
| commit | c0ab5b79dc857981f45e9003d815435e3b6907a9 (patch) | |
| tree | 8e5e74e3b7d6321ebbd12e1ae58c07b37711879c /src | |
| parent | Merge pull request #4889 from lioncash/setting-global (diff) | |
| download | yuzu-c0ab5b79dc857981f45e9003d815435e3b6907a9.tar.gz yuzu-c0ab5b79dc857981f45e9003d815435e3b6907a9.tar.xz yuzu-c0ab5b79dc857981f45e9003d815435e3b6907a9.zip | |
settings: Simplify initializer of resolution factor
This can use a braced initializer to accomplish the same thing with less
code.
Diffstat (limited to '')
| -rw-r--r-- | src/core/settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index dcb1dbb31..28616a574 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -101,7 +101,7 @@ struct Values { | |||
| 101 | bool renderer_debug; | 101 | bool renderer_debug; |
| 102 | Setting<int> vulkan_device; | 102 | Setting<int> vulkan_device; |
| 103 | 103 | ||
| 104 | Setting<u16> resolution_factor = Setting(static_cast<u16>(1)); | 104 | Setting<u16> resolution_factor{1}; |
| 105 | Setting<int> aspect_ratio; | 105 | Setting<int> aspect_ratio; |
| 106 | Setting<int> max_anisotropy; | 106 | Setting<int> max_anisotropy; |
| 107 | Setting<bool> use_frame_limit; | 107 | Setting<bool> use_frame_limit; |