summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2023-06-13 19:37:41 -0400
committerGravatar lat9nq2023-07-21 10:56:54 -0400
commitb4f2ad3ff5c49549bc72997360c31d0662a97439 (patch)
tree71a6cfc62fd2aca84c10832ea0485ebaf4b12c47 /src/common/settings.cpp
parentconfiguration/shared: Clean up includes [IWYU] (diff)
downloadyuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.gz
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.tar.xz
yuzu-b4f2ad3ff5c49549bc72997360c31d0662a97439.zip
settings: Move IsConfiguringGlobal to settings_common
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index d98dd2925..a1cc76a38 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -63,7 +63,6 @@ SWITCHABLE(u8, true);
63#undef SWITCHABLE 63#undef SWITCHABLE
64 64
65Values values; 65Values values;
66static bool configuring_global = true;
67 66
68std::string GetTimeZoneString() { 67std::string GetTimeZoneString() {
69 const auto time_zone_index = static_cast<std::size_t>(values.time_zone_index.GetValue()); 68 const auto time_zone_index = static_cast<std::size_t>(values.time_zone_index.GetValue());
@@ -131,14 +130,6 @@ void LogSettings() {
131 log_path("DataStorage_SDMCDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::SDMCDir)); 130 log_path("DataStorage_SDMCDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::SDMCDir));
132} 131}
133 132
134bool IsConfiguringGlobal() {
135 return configuring_global;
136}
137
138void SetConfiguringGlobal(bool is_global) {
139 configuring_global = is_global;
140}
141
142bool IsGPULevelExtreme() { 133bool IsGPULevelExtreme() {
143 return values.gpu_accuracy.GetValue() == GpuAccuracy::Extreme; 134 return values.gpu_accuracy.GetValue() == GpuAccuracy::Extreme;
144} 135}