summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-13 15:13:12 +0100
committerGitHub <noreply@github.com>2023-11-13 15:13:12 +0100
commit247d66a680abd437164da98d2dcd1b39726faafc (patch)
treee4e1a688d4ef645b3c1faccd01204b7e9e44d16f /src/common
parentMerge pull request #12014 from t895/shrink-logo (diff)
parentyuzu: Make mute audio persistent (diff)
downloadyuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar.gz
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar.bz2
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar.lz
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar.xz
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.tar.zst
yuzu-247d66a680abd437164da98d2dcd1b39726faafc.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp2
-rw-r--r--src/common/settings.h2
-rw-r--r--src/common/settings_common.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 98b43e49c..51717be06 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -203,6 +203,8 @@ const char* TranslateCategory(Category category) {
case Category::Ui:
case Category::UiGeneral:
return "UI";
+ case Category::UiAudio:
+ return "UiAudio";
case Category::UiLayout:
return "UiLayout";
case Category::UiGameList:
diff --git a/src/common/settings.h b/src/common/settings.h
index 9317075f7..e899f1ae6 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -153,7 +153,7 @@ struct Values {
true,
true};
Setting<bool, false> audio_muted{
- linkage, false, "audio_muted", Category::Audio, Specialization::Default, false, true};
+ linkage, false, "audio_muted", Category::Audio, Specialization::Default, true, true};
Setting<bool, false> dump_audio_commands{
linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false};
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
index 1800ab10d..7943223eb 100644
--- a/src/common/settings_common.h
+++ b/src/common/settings_common.h
@@ -32,6 +32,7 @@ enum class Category : u32 {
AddOns,
Controls,
Ui,
+ UiAudio,
UiGeneral,
UiLayout,
UiGameList,