Mercurial > repos > blastem
diff segacd.c @ 2519:0fae9d6a77c4
Fix sub cpu watchpoints
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 05 Oct 2024 23:31:59 -0700 |
parents | 0775f5e0c468 |
children | c6bc66b16392 |
line wrap: on
line diff
--- a/segacd.c Sat Oct 05 23:31:35 2024 -0700 +++ b/segacd.c Sat Oct 05 23:31:59 2024 -0700 @@ -1177,7 +1177,7 @@ scd_peripherals_run(cd, context->cycles); if (address) { - if (cd->enter_debugger) { + if (cd->enter_debugger || context->wp_hit) { genesis_context *gen = cd->genesis; cd->enter_debugger = 0; #ifndef IS_LIB