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.
This commit is contained in:
lat9nq 2020-07-14 13:36:09 -04:00
parent 8160e142e1
commit 6d1477f214
4 changed files with 11 additions and 4 deletions

View file

@ -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