diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-03-22 23:42:20 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-03-22 23:42:20 +0100 |
| commit | 196a1dcce40afcd371ef84d84f9ca462f12532a5 (patch) | |
| tree | bb9a8653046834003f56255e50414a200fe498d4 /Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp | |
| parent | 5e76f3a6d4a29df6b2794c4f6c790bd92e47f17d (diff) | |
Qt/CheatCodeEditor: Fix valid, encrypted AR codes not being accepted
Diffstat (limited to 'Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp b/Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp index 8a91817cbe..3d786fa098 100644 --- a/Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp +++ b/Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp @@ -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()); |
