pub fn decode_game_genie(code: &str) -> Result<CheatPatch, CheatError>Expand description
Decode a Game Genie code: XXXX-XXXX (case-insensitive, a dash at index 4, 9 characters
total).
§Errors
Returns CheatError::UnrecognizedFormat if code isn’t 9 characters with a dash at index
4, or CheatError::InvalidCharacter if a non-dash character is outside the Game Genie
alphabet.