# HG changeset patch # User Michael Pavone # Date 1460522304 25200 # Node ID 08346262990b2b6c1282129a20287f431a3d9801 # Parent 7f4a7f07f32554485e2fcf34bb8529a8843dff13 Remove the int number argument to vdp_int_ack since it is no longer used diff -r 7f4a7f07f325 -r 08346262990b blastem.c --- a/blastem.c Tue Apr 12 08:35:44 2016 -0700 +++ b/blastem.c Tue Apr 12 21:38:24 2016 -0700 @@ -290,7 +290,7 @@ //printf("Set sync cycle to: %d @ %d, vcounter: %d, hslot: %d\n", context->sync_cycle, context->current_cycle, v_context->vcounter, v_context->hslot); if (context->int_ack) { //printf("acknowledging %d @ %d:%d, vcounter: %d, hslot: %d\n", context->int_ack, context->current_cycle, v_context->cycles, v_context->vcounter, v_context->hslot); - vdp_int_ack(v_context, context->int_ack); + vdp_int_ack(v_context); context->int_ack = 0; } if (!address && (break_on_sync || save_state)) { diff -r 7f4a7f07f325 -r 08346262990b vdp.c --- a/vdp.c Tue Apr 12 08:35:44 2016 -0700 +++ b/vdp.c Tue Apr 12 21:38:24 2016 -0700 @@ -1933,7 +1933,7 @@ return context->cycles + cycles_to_vint; } -void vdp_int_ack(vdp_context * context, uint16_t int_num) +void vdp_int_ack(vdp_context * context) { //Apparently the VDP interrupt controller is not very smart //Instead of paying attention to what interrupt is being acknowledged it just diff -r 7f4a7f07f325 -r 08346262990b vdp.h --- a/vdp.h Tue Apr 12 08:35:44 2016 -0700 +++ b/vdp.h Tue Apr 12 21:38:24 2016 -0700 @@ -195,7 +195,7 @@ uint32_t vdp_next_hint(vdp_context * context); uint32_t vdp_next_vint(vdp_context * context); uint32_t vdp_next_vint_z80(vdp_context * context); -void vdp_int_ack(vdp_context * context, uint16_t int_num); +void vdp_int_ack(vdp_context * context); void vdp_print_sprite_table(vdp_context * context); void vdp_print_reg_explain(vdp_context * context); void latch_mode(vdp_context * context);