mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Config: Don't depend on is_dirty
to save SYSCONF during restore
`Layer::Save` only does its thing if the layer has `is_dirty == true`. But SYSCONF could have been modified by other layers, so if the base layer wasn't made dirty by anything else, then it wouldn't be restored. Fixes https://bugs.dolphin-emu.org/issues/13580
This commit is contained in:
parent
87b7009c12
commit
991bce2d68
@ -209,8 +209,7 @@ static void RestoreSYSCONF()
|
||||
},
|
||||
setting.config_info);
|
||||
}
|
||||
// Save the SYSCONF.
|
||||
Config::GetLayer(Config::LayerType::Base)->Save();
|
||||
ConfigLoaders::SaveToSYSCONF(Config::LayerType::Base);
|
||||
}
|
||||
|
||||
void RestoreConfig()
|
||||
|
Loading…
x
Reference in New Issue
Block a user