Also account for data address breakpoints

This commit is contained in:
Cacodemon345
2024-01-14 21:32:43 +06:00
parent 128a2f2b5d
commit c3fa0fc18b
2 changed files with 2 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ io_debug_check_addr(uint16_t addr)
}
}
if (set_trap)
trap = 4;
trap |= 4;
}
uint8_t

View File

@@ -209,7 +209,7 @@ mem_debug_check_addr(uint32_t addr, int write)
}
}
if (set_trap)
trap = 4;
trap |= 4;
}
int