feat: comply with test 03 of blargg's cpu_instrs test rom

This commit is contained in:
2021-04-07 02:27:57 -05:00
parent 6db132ad48
commit 067ed03de3
2 changed files with 26 additions and 20 deletions

View File

@@ -84,9 +84,9 @@ impl Cpu {
}
pub fn step(&mut self) -> Cycle {
// if !self.bus.boot_enabled() {
// self.log_state().unwrap();
// }
if !self.bus.boot_enabled() {
self.log_state().unwrap();
}
let cycles = match self.halted() {
Some(state) => {