Skip to content

Commit

Permalink
Merge pull request #6494 from spycrab/qt_fix_ar
Browse files Browse the repository at this point in the history
Qt/CheatCodeEditor: Fix valid, encrypted AR codes not being accepted
  • Loading branch information
delroth committed Mar 22, 2018
2 parents 5e76f3a + 196a1dc commit bc3eb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp
Expand Up @@ -148,7 +148,7 @@ bool CheatCodeEditor::AcceptAR()
QStringList blocks = line.split(QStringLiteral("-"));

if (blocks.size() == 3 && blocks[0].size() == 4 && blocks[1].size() == 4 &&
blocks[2].size() == 4)
blocks[2].size() == 5)
{
encrypted_lines.emplace_back(blocks[0].toStdString() + blocks[1].toStdString() +
blocks[2].toStdString());
Expand Down

0 comments on commit bc3eb22

Please sign in to comment.