Mercurial > repos > blastem
comparison z80_to_x86.c @ 2424:767ec72acca7
Avoid conflicts between watchpoints and normal debugger entry
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 24 Jan 2024 18:51:44 -0800 |
parents | cc07f544c620 |
children | dbff641a33df |
comparison
equal
deleted
inserted
replaced
2423:b733a10488c6 | 2424:767ec72acca7 |
---|---|
3921 context->wp_hit_address = address; | 3921 context->wp_hit_address = address; |
3922 context->wp_hit_value = value; | 3922 context->wp_hit_value = value; |
3923 context->wp_hit = 1; | 3923 context->wp_hit = 1; |
3924 context->target_cycle = context->sync_cycle = context->current_cycle; | 3924 context->target_cycle = context->sync_cycle = context->current_cycle; |
3925 system_header *system = context->system; | 3925 system_header *system = context->system; |
3926 system->enter_debugger = 1; | |
3927 return vcontext; | 3926 return vcontext; |
3928 } | 3927 } |
3929 | 3928 |
3930 static void z80_enable_watchpoints(z80_context *context) | 3929 static void z80_enable_watchpoints(z80_context *context) |
3931 { | 3930 { |