Function spectrusty_formats::z80::load_z80
source · pub fn load_z80<R: Read, S: SnapshotLoader>(rd: R, loader: &mut S) -> Result<()>
Expand description
Loads a Z80 file from rd
into the provided snapshot loader
implementing SnapshotLoader.
Errors
This function will return an error if the file size is incorrect or there is something wrong with the format. Other errors may also be returned from attempts to read the file.