chore: fix condition when logs are printed

This commit is contained in:
2021-03-27 15:07:17 -05:00
parent 2b05571c49
commit 25e44f3e49
2 changed files with 5 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ impl Cpu {
}
pub fn step(&mut self) -> Cycle {
if self.reg.pc > 0x100 {
if !self.bus.boot_enabled() {
self.log_state().unwrap();
}