summaryrefslogtreecommitdiffstats
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-18 21:49:36 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commit32116231924bfc1ad356fc0f39df327a393b8df1 (patch)
tree61ffe216c4246ee63f387169cc2eecb0dc80e216 /src/common/settings.cpp
parentsettings_setting: Fix typo (diff)
downloadyuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.gz
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.bz2
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.lz
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.xz
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.zst
yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.zip
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 59d24a053..4c1cd1cac 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -287,4 +287,14 @@ void RestoreGlobalState(bool is_powered_on) {
}
}
+static bool configuring_global = true;
+
+bool IsConfiguringGlobal() {
+ return configuring_global;
+}
+
+void SetConfiguringGlobal(bool is_global) {
+ configuring_global = is_global;
+}
+
} // namespace Settings