mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Core: Don't copy default _Enabled sections to user INIs
This commit is contained in:
parent
7d9276c340
commit
11e8783893
3 changed files with 6 additions and 12 deletions
|
@ -133,10 +133,8 @@ void PatchesWidget::SavePatches()
|
|||
|
||||
for (const auto& patch : m_patches)
|
||||
{
|
||||
if (patch.enabled)
|
||||
lines_enabled.emplace_back('$' + patch.name);
|
||||
else if (patch.default_enabled)
|
||||
lines_disabled.emplace_back('$' + patch.name);
|
||||
if (patch.enabled != patch.default_enabled)
|
||||
(patch.enabled ? lines_enabled : lines_disabled).emplace_back('$' + patch.name);
|
||||
|
||||
if (!patch.user_defined)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue