chore: drop pixels-rs and add egui w/ wgpu backend

This commit is contained in:
2021-11-15 21:34:24 -04:00
parent ce5d58e1d2
commit 6f5e863645
9 changed files with 501 additions and 195 deletions

View File

@@ -73,7 +73,10 @@ impl Bus {
fn tick(&mut self, limit: u8) {
for _ in 0..limit {
self.timer.tick();
self.cart.as_mut().map(|cart| cart.tick());
if let Some(c) = self.cart.as_mut() {
c.tick()
}
self.ppu.tick();
self.apu.tick(self.timer.divider);
self.dma_tick()