feat: clock bus on instruction read-write
Some checks failed
continuous-integration/drone/push Build is failing

Commit also includes general work towards passing mem-timings.

Note: while cpu_instrs.gb passes, instr_timing.gb and mem_timing.gb both
are stuck in infinite loops (Currently, it seems like a timing issue).
This is a major regression that hopefully shouldn't last for too long.
This commit is contained in:
2021-08-14 00:10:51 -05:00
parent 0637b771e3
commit 8625bec059
9 changed files with 332 additions and 219 deletions

View File

@@ -70,7 +70,7 @@ impl BusIo for Ppu {
}
impl Ppu {
pub(crate) fn clock(&mut self) {
pub(crate) fn tick(&mut self) {
self.cycle += 1;
if !self.ctrl.lcd_enabled() {