diff options
| author | 2023-07-18 15:49:36 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:55 -0400 | |
| commit | 32116231924bfc1ad356fc0f39df327a393b8df1 (patch) | |
| tree | 61ffe216c4246ee63f387169cc2eecb0dc80e216 /src/common/settings.cpp | |
| parent | settings_setting: Fix typo (diff) | |
| download | yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.gz yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.tar.xz yuzu-32116231924bfc1ad356fc0f39df327a393b8df1.zip | |
common: Move global configuration state modifiers back to settings
Diffstat (limited to '')
| -rw-r--r-- | src/common/settings.cpp | 10 |
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) { | |||
| 287 | } | 287 | } |
| 288 | } | 288 | } |
| 289 | 289 | ||
| 290 | static bool configuring_global = true; | ||
| 291 | |||
| 292 | bool IsConfiguringGlobal() { | ||
| 293 | return configuring_global; | ||
| 294 | } | ||
| 295 | |||
| 296 | void SetConfiguringGlobal(bool is_global) { | ||
| 297 | configuring_global = is_global; | ||
| 298 | } | ||
| 299 | |||
| 290 | } // namespace Settings | 300 | } // namespace Settings |