mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
Merge pull request #3961 from makotech222/cwcheat
Fix Bug with GetCodesList skipping lines that don't contain 8 characters...
This commit is contained in:
commit
605b3c8cc0
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user