From 0e05a71f2a080e3b241a3775bc0df26ffeff3ef7 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Apr 2015 17:07:42 -0400 Subject: [PATCH] guessing it's okay to have case-insensitive hex verify here too --- Source/Project64/N64 System/Cheat Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Cheat Class.cpp b/Source/Project64/N64 System/Cheat Class.cpp index adf90d515..d5f6e27be 100644 --- a/Source/Project64/N64 System/Cheat Class.cpp +++ b/Source/Project64/N64 System/Cheat Class.cpp @@ -1786,7 +1786,7 @@ stdstr CCheats::ReadCodeString (HWND hDlg, bool &validcodes, bool &validoptions, if (len <= 0) { continue; } for (i=0; i<128; i++) { - if (((str[i] >= 'A') && (str[i] <= 'F')) || ((str[i] >= '0') && (str[i] <= '9'))) { // Is hexvalue + if (is_valid_hex_digit(str[i])) { tempformat[i] = 'X'; } if ((str[i] == ' ') || (str[i] == '?')) {