mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-12-20 18:25:12 -06:00
common: Move global configuration state modifiers back to settings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user