mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Core: Don't copy default _Enabled sections to user INIs
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user