mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cheats: Enable for any non-zero number.
This commit is contained in:
parent
c62a53c223
commit
bf4f5a102e
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void CheatFileParser::ParseLine(const std::string &line) {
|
|||
|
||||
case 'C':
|
||||
// Cheat name and activation status.
|
||||
if (line.length() >= 3 && line[2] == '1') {
|
||||
if (line.length() >= 3 && line[2] >= '1' && line[2] <= '9') {
|
||||
cheatEnabled_ = true;
|
||||
} else if (line.length() >= 3 && line[2] == '0') {
|
||||
cheatEnabled_ = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue