pub fn save<B: Block, const ACTIONS: usize, const SCORES: usize>(
card: &mut Card<B>,
name: &str,
title: &str,
profile: &Profile<ACTIONS, SCORES>,
) -> Result<(), CardError>Expand description
Save one profile into a standard PS1 memory-card file.
A card without the MC header is not written to: this returns
CardError::Card(psx_mc::Error::NotFormatted) and leaves the card as it
was, so the game can ask the player before calling
format_and_save. Formatting drops every save on the card from its
directory.