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] == '#')