mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 06:00:05 +00:00
(ui)settings: Add more runtime_modifiable settings
This commit is contained in:
parent
1bc0b673aa
commit
195403c87c
@ -134,9 +134,10 @@ struct Values {
|
|||||||
Specialization::RuntimeList};
|
Specialization::RuntimeList};
|
||||||
Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio,
|
Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio,
|
||||||
Specialization::RuntimeList};
|
Specialization::RuntimeList};
|
||||||
SwitchableSetting<AudioMode, true> sound_index{linkage, AudioMode::Stereo,
|
SwitchableSetting<AudioMode, true> sound_index{
|
||||||
AudioMode::Mono, AudioMode::Surround,
|
linkage, AudioMode::Stereo, AudioMode::Mono, AudioMode::Surround,
|
||||||
"sound_index", Category::SystemAudio};
|
"sound_index", Category::SystemAudio, Specialization::Default, true,
|
||||||
|
true};
|
||||||
SwitchableSetting<u8, true> volume{linkage,
|
SwitchableSetting<u8, true> volume{linkage,
|
||||||
100,
|
100,
|
||||||
0,
|
0,
|
||||||
@ -147,7 +148,7 @@ struct Values {
|
|||||||
true,
|
true,
|
||||||
true};
|
true};
|
||||||
Setting<bool, false> audio_muted{
|
Setting<bool, false> audio_muted{
|
||||||
linkage, false, "audio_muted", Category::Audio, Specialization::Default, false};
|
linkage, false, "audio_muted", Category::Audio, Specialization::Default, false, true};
|
||||||
Setting<bool, false> dump_audio_commands{
|
Setting<bool, false> dump_audio_commands{
|
||||||
linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false};
|
linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false};
|
||||||
|
|
||||||
|
@ -90,18 +90,35 @@ struct Values {
|
|||||||
Setting<bool> show_filter_bar{linkage, true, "showFilterBar", Category::Ui};
|
Setting<bool> show_filter_bar{linkage, true, "showFilterBar", Category::Ui};
|
||||||
Setting<bool> show_status_bar{linkage, true, "showStatusBar", Category::Ui};
|
Setting<bool> show_status_bar{linkage, true, "showStatusBar", Category::Ui};
|
||||||
|
|
||||||
Setting<bool> confirm_before_closing{linkage, true, "confirmClose", Category::UiGeneral};
|
Setting<bool> confirm_before_closing{
|
||||||
|
linkage, true, "confirmClose", Category::UiGeneral, Settings::Specialization::Default,
|
||||||
|
true, true};
|
||||||
Setting<bool> first_start{linkage, true, "firstStart", Category::Ui};
|
Setting<bool> first_start{linkage, true, "firstStart", Category::Ui};
|
||||||
Setting<bool> pause_when_in_background{linkage, false, "pauseWhenInBackground",
|
Setting<bool> pause_when_in_background{linkage,
|
||||||
Category::UiGeneral};
|
false,
|
||||||
Setting<bool> mute_when_in_background{linkage, false, "muteWhenInBackground", Category::Ui};
|
"pauseWhenInBackground",
|
||||||
Setting<bool> hide_mouse{linkage, true, "hideInactiveMouse", Category::UiGeneral};
|
Category::UiGeneral,
|
||||||
|
Settings::Specialization::Default,
|
||||||
|
true,
|
||||||
|
true};
|
||||||
|
Setting<bool> mute_when_in_background{
|
||||||
|
linkage, false, "muteWhenInBackground", Category::Ui, Settings::Specialization::Default,
|
||||||
|
true, true};
|
||||||
|
Setting<bool> hide_mouse{
|
||||||
|
linkage, true, "hideInactiveMouse", Category::UiGeneral, Settings::Specialization::Default,
|
||||||
|
true, true};
|
||||||
Setting<bool> controller_applet_disabled{linkage, false, "disableControllerApplet",
|
Setting<bool> controller_applet_disabled{linkage, false, "disableControllerApplet",
|
||||||
Category::UiGeneral};
|
Category::UiGeneral};
|
||||||
// Set when Vulkan is known to crash the application
|
// Set when Vulkan is known to crash the application
|
||||||
bool has_broken_vulkan = false;
|
bool has_broken_vulkan = false;
|
||||||
|
|
||||||
Setting<bool> select_user_on_boot{linkage, false, "select_user_on_boot", Category::UiGeneral};
|
Setting<bool> select_user_on_boot{linkage,
|
||||||
|
false,
|
||||||
|
"select_user_on_boot",
|
||||||
|
Category::UiGeneral,
|
||||||
|
Settings::Specialization::Default,
|
||||||
|
true,
|
||||||
|
true};
|
||||||
Setting<bool> disable_web_applet{linkage, true, "disable_web_applet", Category::Ui};
|
Setting<bool> disable_web_applet{linkage, true, "disable_web_applet", Category::Ui};
|
||||||
|
|
||||||
// Discord RPC
|
// Discord RPC
|
||||||
|
Loading…
Reference in New Issue
Block a user