A big refactor, step 3

This commit is contained in:
2023-11-11 15:59:04 -06:00
parent e66a05d6dc
commit ac05959042
34 changed files with 1649 additions and 1466 deletions
+3 -3
View File
@@ -381,9 +381,9 @@ impl CPU {
match self.fetch() {
Ok(instr) => {
//if cfg!(debug_assertions) {
//self.debug_instr(instr);
//}
if cfg!(debug_assertions) {
self.debug_instr(instr);
}
self.pc = if let Some(err) = self.error(instr) {
self.handle_error(err)