summaryrefslogtreecommitdiff
path: root/blastem.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-11-05 00:23:11 -0700
committerMichael Pavone <pavone@retrodev.com>2016-11-05 00:23:11 -0700
commitdd260c76cde35ba8ad5508f03163216f359d00e1 (patch)
treef3d3d57224ec08a2d08d53175f3722c74eadd697 /blastem.c
parente895e82ba2f3cb0d47212e05740d51be5e8324b5 (diff)
Get Jaguar video interrupt working
Diffstat (limited to 'blastem.c')
-rw-r--r--blastem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blastem.c b/blastem.c
index b91070a..7a75123 100644
--- a/blastem.c
+++ b/blastem.c
@@ -171,7 +171,7 @@ void adjust_int_cycle(m68k_context * context, vdp_context * v_context)
}
}
if (context->int_cycle > context->current_cycle && context->int_pending == INT_PENDING_SR_CHANGE) {
- context->int_pending = 0;
+ context->int_pending = INT_PENDING_NONE;
}
/*if (context->int_cycle != old_int_cycle) {
printf("int cycle changed to: %d, level: %d @ %d(%d), frame: %d, vcounter: %d, hslot: %d, mask: %d, hint_counter: %d\n", context->int_cycle, context->int_num, v_context->cycles, context->current_cycle, v_context->frame, v_context->vcounter, v_context->hslot, context->status & 0x7, v_context->hint_counter);