From c8387cb038aeeb09f99d8251edd0f706c15e68a3 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 5 Mar 2021 00:53:20 +1000 Subject: [PATCH] Cheats: Fix master enable not having any effect --- src/core/cheats.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index c82b41cf6..8bda6816c 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -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)