From 977c2f4947fb58872ecebf03071bd7551f1877a9 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 1 Dec 2020 11:56:09 +1000 Subject: [PATCH] CheatList: Fix games with serial aliases not loading from database --- src/core/cheats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index 7eecff54a..fe77448ad 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -565,7 +565,7 @@ bool CheatList::LoadFromPackage(const std::string& game_code) if (start == end) continue; - if (start[0] == ':') + if (start[0] == ':' && !m_codes.empty()) break; if (start[0] == '#')