diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index 7c1a3b3e90..67311afe0e 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -192,7 +192,7 @@ std::vector CWCheatEngine::GetCodesList() { //Reads the entire chea std::ifstream list(activeCheatFile.c_str()); for (int i = 0; !list.eof(); i ++) { getline(list, line, '\n'); - if (line.length() > 8){ + if (line.length() > 3 && line.substr(0,1) == "_"){ codesList.push_back(line); } }