diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-03-23 00:52:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-23 00:52:32 +0100 |
| commit | bc3eb22c7f86e49028881003cb51b7cc88cc9cfc (patch) | |
| tree | bb9a8653046834003f56255e50414a200fe498d4 /Source/Core/DolphinQt2/Config/CheatCodeEditor.cpp | |
| parent | 5e76f3a6d4a29df6b2794c4f6c790bd92e47f17d (diff) | |
| parent | 196a1dcce40afcd371ef84d84f9ca462f12532a5 (diff) | |
Merge pull request #6494 from spycrab/qt_fix_ar
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()); |
