summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-07-14 13:36:09 -0400
committerlat9nq <lat9nq@virginia.edu>2020-07-14 13:36:09 -0400
commit6d1477f214199d8a59b8ab0eea161e16463e35bb (patch)
tree874ff82a255f281dcf2d6b0a69e1f4e81248b74e /src/core/settings.h
parent8160e142e154829c94a7acb8fe026672be6f5908 (diff)
settings: Move settings sanitization to its own function
Creates a new function that can be expanded later to fix other settings that are known to cause emulation errors across executables.
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index 850ca4072..878840116 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -539,4 +539,7 @@ void LogSettings();
// Restore the global state of all applicable settings in the Values struct
void RestoreGlobalState();
+// Fixes settings that are known to cause issues with the emulator
+void Sanitize();
+
} // namespace Settings