summaryrefslogtreecommitdiff
path: root/genesis.c
diff options
context:
space:
mode:
Diffstat (limited to 'genesis.c')
-rw-r--r--genesis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/genesis.c b/genesis.c
index 7733f91..5cb010d 100644
--- a/genesis.c
+++ b/genesis.c
@@ -266,7 +266,7 @@ static void adjust_int_cycle(m68k_context * context, vdp_context * v_context)
}
context->target_cycle = context->int_cycle < context->sync_cycle ? context->int_cycle : context->sync_cycle;
- if (context->should_return) {
+ if (context->should_return || gen->header.enter_debugger) {
context->target_cycle = context->current_cycle;
} else if (context->target_cycle < context->current_cycle) {
//Changes to SR can result in an interrupt cycle that's in the past