added a state dumper for headless checks
This commit is contained in:
@@ -32,6 +32,9 @@ impl NesBus {
|
||||
pub fn begin_frame(&mut self) {
|
||||
self.ppu.begin_frame();
|
||||
}
|
||||
|
||||
pub fn ppu(&self) -> &Ppu { &self.ppu }
|
||||
pub fn ram(&self) -> &[u8; 0x800] { &self.ram }
|
||||
}
|
||||
|
||||
impl Bus for NesBus {
|
||||
|
||||
Reference in New Issue
Block a user