diff options
| author | 2023-07-25 23:13:54 -0400 | |
|---|---|---|
| committer | 2023-07-25 23:14:13 -0400 | |
| commit | 195403c87cf17e91c686fc98c27429d23974af73 (patch) | |
| tree | 6e1eaedf7b5c74f9f9107b5a1875334a7b18f6a6 /src/common/settings.h | |
| parent | backend: Remove usage of explicit operator overload (diff) | |
| download | yuzu-195403c87cf17e91c686fc98c27429d23974af73.tar.gz yuzu-195403c87cf17e91c686fc98c27429d23974af73.tar.xz yuzu-195403c87cf17e91c686fc98c27429d23974af73.zip | |
(ui)settings: Add more runtime_modifiable settings
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 43ebeae9e..b0bc6519a 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -134,9 +134,10 @@ struct Values { | |||
| 134 | Specialization::RuntimeList}; | 134 | Specialization::RuntimeList}; |
| 135 | Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio, | 135 | Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio, |
| 136 | Specialization::RuntimeList}; | 136 | Specialization::RuntimeList}; |
| 137 | SwitchableSetting<AudioMode, true> sound_index{linkage, AudioMode::Stereo, | 137 | SwitchableSetting<AudioMode, true> sound_index{ |
| 138 | AudioMode::Mono, AudioMode::Surround, | 138 | linkage, AudioMode::Stereo, AudioMode::Mono, AudioMode::Surround, |
| 139 | "sound_index", Category::SystemAudio}; | 139 | "sound_index", Category::SystemAudio, Specialization::Default, true, |
| 140 | true}; | ||
| 140 | SwitchableSetting<u8, true> volume{linkage, | 141 | SwitchableSetting<u8, true> volume{linkage, |
| 141 | 100, | 142 | 100, |
| 142 | 0, | 143 | 0, |
| @@ -147,7 +148,7 @@ struct Values { | |||
| 147 | true, | 148 | true, |
| 148 | true}; | 149 | true}; |
| 149 | Setting<bool, false> audio_muted{ | 150 | Setting<bool, false> audio_muted{ |
| 150 | linkage, false, "audio_muted", Category::Audio, Specialization::Default, false}; | 151 | linkage, false, "audio_muted", Category::Audio, Specialization::Default, false, true}; |
| 151 | Setting<bool, false> dump_audio_commands{ | 152 | Setting<bool, false> dump_audio_commands{ |
| 152 | linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false}; | 153 | linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false}; |
| 153 | 154 | ||