Cheats: Fix master enable not having any effect

This commit is contained in:
Connor McLaughlin 2021-03-05 00:53:20 +10:00
parent 3405041bda
commit c8387cb038
1 changed files with 3 additions and 0 deletions

View File

@ -525,6 +525,9 @@ bool CheatList::ParseLibretroCheat(CheatCode* cc, const char* line)
void CheatList::Apply()
{
if (!m_master_enable)
return;
for (const CheatCode& code : m_codes)
{
if (code.enabled)