mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
Cheats: Fix master enable not having any effect
This commit is contained in:
parent
3405041bda
commit
c8387cb038
|
@ -525,6 +525,9 @@ bool CheatList::ParseLibretroCheat(CheatCode* cc, const char* line)
|
||||||
|
|
||||||
void CheatList::Apply()
|
void CheatList::Apply()
|
||||||
{
|
{
|
||||||
|
if (!m_master_enable)
|
||||||
|
return;
|
||||||
|
|
||||||
for (const CheatCode& code : m_codes)
|
for (const CheatCode& code : m_codes)
|
||||||
{
|
{
|
||||||
if (code.enabled)
|
if (code.enabled)
|
||||||
|
|
Loading…
Reference in a new issue