Core: Allow overriding the enabling of a code

If we want to enable codes in the default game INIs,
we should have some way for users to disable them.
This commit accomplishes that by adding a *_Disabled
section corresponding to each *_Enabled section.
This commit is contained in:
JosJuice 2020-12-10 12:58:27 +01:00
commit 366cfd0f8c
14 changed files with 68 additions and 69 deletions

View file

@ -33,7 +33,7 @@ struct Patch
{
std::string name;
std::vector<PatchEntry> entries;
bool active = false;
bool enabled = false;
bool user_defined = false; // False if this code is shipped with Dolphin.
};