mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core: Save the disabling of default enabled codes
The previous commit adjusted the code for loading and this commit adjusts the code for saving.
This commit is contained in:
@ -110,6 +110,12 @@ void LoadPatchSection(const std::string& section, std::vector<Patch>& patches, I
|
||||
}
|
||||
|
||||
ReadEnabledAndDisabled(*ini, section, &patches);
|
||||
|
||||
if (ini == &globalIni)
|
||||
{
|
||||
for (Patch& patch : patches)
|
||||
patch.default_enabled = patch.enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user