Fix reset not resetting M-cycle

This commit is contained in:
pjht 2024-02-01 19:15:09 -06:00
parent 0b3e2d0ff3
commit 63de2cf5ae
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -234,6 +234,7 @@ impl I8080 {
self.pc = 0; self.pc = 0;
self.halted = false; self.halted = false;
self.inte = false; self.inte = false;
self.cycle = MCycle::M1;
} }
pub fn get_mem_cycle(&self) -> MemCycle { pub fn get_mem_cycle(&self) -> MemCycle {