Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines

This commit is contained in:
pal1000 committed 2013-11-11 12:01:44 +02:00
1 parent 9afe69fa62
commit 6e67494db0
1 file changed
+4 -1
+4 -1
View File
@@ -114,7 +114,10 @@ void CWCheatEngine::CreateCodeList() { //Creates code list to be used in functio
continue; //Line indicates Disc ID, not needed for cheats
}
if (initialCodesList[i].substr(0,2) == "_G") {
continue; //Line indicates game Title, also not needed for cheats.
continue; //Line indicates game Title, also not needed for cheats
}
if (initialCodesList[i].substr(0,2) == "//") {
continue; //Line indicates comment, also not needed for cheats.
}
if (initialCodesList[i].substr(0,3) == "_C1") {
cheatEnabled = true;