aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 56b65c527c..d3f7d9afea 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -141,6 +141,10 @@ void LogSettings() {
log_path("DataStorage_SDMCDir", Common::FS::GetEdenPath(Common::FS::EdenPath::SDMCDir));
}
+bool getDebugKnobAt(u8 i) {
+ return (values.debug_knobs.GetValue() & (1 << (i & 0xF))) != 0;
+}
+
void UpdateGPUAccuracy() {
values.current_gpu_accuracy = values.gpu_accuracy.GetValue();
}