Trait axal::Core [] [src]

pub trait Core {
    fn info(&self) -> Info;
    fn reset(&mut self);
    fn run_next(&mut self, _: &mut Runtime);
    fn rom_insert(&mut self, filename: &str);
    fn rom_remove(&mut self);
}

Required Methods

Information

Soft reset

Run for the next "frame"

Insert ROM

Remove ROM (if inserted)

The core should act as if the ROM was forcibly removed and continue operation (whatever consequences that may have). The front-end is generally expected to have stopped calling run_next before this.

Implementors