changeset 953:08346262990b

Remove the int number argument to vdp_int_ack since it is no longer used
author Michael Pavone <pavone@retrodev.com>
date Tue, 12 Apr 2016 21:38:24 -0700
parents 7f4a7f07f325
children cbc5b39e5518
files blastem.c vdp.c vdp.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)) {
--- 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 
--- 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);