summaryrefslogtreecommitdiffstats
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-06 18:54:02 +0100
committerGitHub <noreply@github.com>2020-11-06 18:54:02 +0100
commit0b75ec531629f9b78d4016e21de8c8d55476fade (patch)
tree9c7e7847d04f1bb946474c8a9b0ac788f2e55fde /src/core/settings.h
parentMerge pull request #4854 from ReinUsesLisp/cube-array-shadow (diff)
parentsettings: Simplify initializer of resolution factor (diff)
downloadyuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar.gz
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar.bz2
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar.lz
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar.xz
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.tar.zst
yuzu-0b75ec531629f9b78d4016e21de8c8d55476fade.zip
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h2
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 {
bool renderer_debug;
Setting<int> vulkan_device;
- Setting<u16> resolution_factor = Setting(static_cast<u16>(1));
+ Setting<u16> resolution_factor{1};
Setting<int> aspect_ratio;
Setting<int> max_anisotropy;
Setting<bool> use_frame_limit;