Config: Add SYSCONF to IsSettingSaveable

SYSCONF very much is saveable. Whether it's in IsSettingSaveable
or not hasn't mattered until now since the SYSCONF settings use
separate config loader code that doesn't check IsSettingSaveable,
but the next commit will require SYSCONF to be marked as saveable.
This commit is contained in:
JosJuice 2020-09-16 12:15:33 +02:00
parent fb2e633e1e
commit 9c97654603

View File

@ -16,8 +16,8 @@ namespace ConfigLoaders
{
bool IsSettingSaveable(const Config::Location& config_location)
{
for (Config::System system :
{Config::System::GFX, Config::System::DualShockUDPClient, Config::System::Logger})
for (Config::System system : {Config::System::SYSCONF, Config::System::GFX,
Config::System::DualShockUDPClient, Config::System::Logger})
{
if (config_location.system == system)
return true;