Fix Bug with GetCodesList skipping lines that don't contain 8 characters (usually titles)
This commit is contained in:
parent
04b911a03b
commit
d240dbecce
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ std::vector<std::string> 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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue