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
fn info(&self) -> Info
Information
fn reset(&mut self)
Soft reset
fn run_next(&mut self, _: &mut Runtime)
Run for the next "frame"
fn rom_insert(&mut self, filename: &str)
Insert ROM
fn rom_remove(&mut self)
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.