From 4ca56b03ce32a78b216a1d390afcdfaf4a9c8330 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 26 Nov 2017 19:50:27 +0100 Subject: [PATCH] fixed #259 --- src/cheat/CheatManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cheat/CheatManager.cxx b/src/cheat/CheatManager.cxx index f245b372d..2b2973546 100644 --- a/src/cheat/CheatManager.cxx +++ b/src/cheat/CheatManager.cxx @@ -137,6 +137,7 @@ shared_ptr CheatManager::createCheat(const string& name, const string& co { case 4: return make_shared(myOSystem, name, code); case 6: return make_shared(myOSystem, name, code); + case 7: return make_shared(myOSystem, name, code); case 8: return make_shared(myOSystem, name, code); default: return nullptr; } @@ -329,5 +330,5 @@ bool CheatManager::isValidCode(const string& code) const return false; uInt32 length = uInt32(code.length()); - return (length == 4 || length == 6 || length == 8); + return (length == 4 || length == 6 || length == 7 || length == 8); }