summaryrefslogtreecommitdiffstats
path: root/src/common/settings_common.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-14 01:37:41 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:54 +0200
commitb4f2ad3ff5c49549bc72997360c31d0662a97439 (patch)
tree71a6cfc62fd2aca84c10832ea0485ebaf4b12c47 /src/common/settings_common.cpp
parentconfiguration/shared: Clean up includes [IWYU] (diff)
downloadyuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.gz
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.bz2
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.lz
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.xz
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.zst
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.zip
Diffstat (limited to '')
-rw-r--r--src/common/settings_common.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/settings_common.cpp b/src/common/settings_common.cpp
index a7ce99515..fb42991fa 100644
--- a/src/common/settings_common.cpp
+++ b/src/common/settings_common.cpp
@@ -42,4 +42,14 @@ const std::string& BasicSetting::GetLabel() const {
return label;
}
+static bool configuring_global = true;
+
+bool IsConfiguringGlobal() {
+ return configuring_global;
+}
+
+void SetConfiguringGlobal(bool is_global) {
+ configuring_global = is_global;
+}
+
} // namespace Settings