PPU reset and registers

This commit is contained in:
Daniel Bauer
2020-01-06 09:30:13 +01:00
parent e14d045665
commit 5c6d523db9
2 changed files with 53 additions and 3 deletions

View File

@@ -55,6 +55,7 @@ impl NES {
pub fn reset(&mut self) {
self.clock_count = 0;
self.cpu.reset(&self.memory);
self.ppu.borrow_mut().reset();
}
// A single clock on the NES