mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
This commit is contained in:
1 parent
9afe69fa62
commit
6e67494db0
1 file changed
+4
-1
+4
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user