diff options
| author | 2023-06-21 05:04:21 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:55 -0400 | |
| commit | 926f3e3d3e6ff57633d2d44085f02754ffe1c988 (patch) | |
| tree | 145da683fb3421a5a500525447181b08cb25b4dd /src/common/settings.h | |
| parent | configuration: Use paired settings (diff) | |
| download | yuzu-926f3e3d3e6ff57633d2d44085f02754ffe1c988.tar.gz yuzu-926f3e3d3e6ff57633d2d44085f02754ffe1c988.tar.xz yuzu-926f3e3d3e6ff57633d2d44085f02754ffe1c988.zip | |
settings,configuration: Add a default suffix
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index b87301d4e..c4339cb1f 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -137,8 +137,15 @@ struct Values { | |||
| 137 | SwitchableSetting<AudioMode, true> sound_index{linkage, AudioMode::Stereo, | 137 | SwitchableSetting<AudioMode, true> sound_index{linkage, AudioMode::Stereo, |
| 138 | AudioMode::Mono, AudioMode::Surround, | 138 | AudioMode::Mono, AudioMode::Surround, |
| 139 | "sound_index", Category::SystemAudio}; | 139 | "sound_index", Category::SystemAudio}; |
| 140 | SwitchableSetting<u8, true> volume{ | 140 | SwitchableSetting<u8, true> volume{linkage, |
| 141 | linkage, 100, 0, 200, "volume", Category::Audio, Specialization::Scalar, true, true}; | 141 | 100, |
| 142 | 0, | ||
| 143 | 200, | ||
| 144 | "volume", | ||
| 145 | Category::Audio, | ||
| 146 | Specialization::Scalar | Specialization::Percentage, | ||
| 147 | true, | ||
| 148 | true}; | ||
| 142 | Setting<bool, false> audio_muted{ | 149 | Setting<bool, false> audio_muted{ |
| 143 | linkage, false, "audio_muted", Category::Audio, Specialization::Default, false}; | 150 | linkage, false, "audio_muted", Category::Audio, Specialization::Default, false}; |
| 144 | Setting<bool, false> dump_audio_commands{ | 151 | Setting<bool, false> dump_audio_commands{ |
| @@ -156,7 +163,7 @@ struct Values { | |||
| 156 | 9999, | 163 | 9999, |
| 157 | "speed_limit", | 164 | "speed_limit", |
| 158 | Category::Core, | 165 | Category::Core, |
| 159 | Specialization::Countable, | 166 | Specialization::Countable | Specialization::Percentage, |
| 160 | true, | 167 | true, |
| 161 | true, | 168 | true, |
| 162 | &use_speed_limit}; | 169 | &use_speed_limit}; |
| @@ -268,9 +275,16 @@ struct Values { | |||
| 268 | Specialization::Default, | 275 | Specialization::Default, |
| 269 | true, | 276 | true, |
| 270 | true}; | 277 | true}; |
| 271 | SwitchableSetting<int, true> fsr_sharpening_slider{ | 278 | SwitchableSetting<int, true> fsr_sharpening_slider{linkage, |
| 272 | linkage, 25, 0, 200, "fsr_sharpening_slider", Category::Renderer, Specialization::Scalar, | 279 | 25, |
| 273 | true, true}; | 280 | 0, |
| 281 | 200, | ||
| 282 | "fsr_sharpening_slider", | ||
| 283 | Category::Renderer, | ||
| 284 | Specialization::Scalar | | ||
| 285 | Specialization::Percentage, | ||
| 286 | true, | ||
| 287 | true}; | ||
| 274 | 288 | ||
| 275 | SwitchableSetting<u8, false> bg_red{ | 289 | SwitchableSetting<u8, false> bg_red{ |
| 276 | linkage, 0, "bg_red", Category::Renderer, Specialization::Default, true, true}; | 290 | linkage, 0, "bg_red", Category::Renderer, Specialization::Default, true, true}; |