Mercurial > repos > blastem
comparison vdp.c @ 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 | 928442068afe |
comparison
equal
deleted
inserted
replaced
952:7f4a7f07f325 | 953:08346262990b |
---|---|
1931 cycles_to_vint += (VINT_SLOT_H32 + 148 - LINE_CHANGE_H32 + 256 - 233) * MCLKS_SLOT_H32; | 1931 cycles_to_vint += (VINT_SLOT_H32 + 148 - LINE_CHANGE_H32 + 256 - 233) * MCLKS_SLOT_H32; |
1932 } | 1932 } |
1933 return context->cycles + cycles_to_vint; | 1933 return context->cycles + cycles_to_vint; |
1934 } | 1934 } |
1935 | 1935 |
1936 void vdp_int_ack(vdp_context * context, uint16_t int_num) | 1936 void vdp_int_ack(vdp_context * context) |
1937 { | 1937 { |
1938 //Apparently the VDP interrupt controller is not very smart | 1938 //Apparently the VDP interrupt controller is not very smart |
1939 //Instead of paying attention to what interrupt is being acknowledged it just | 1939 //Instead of paying attention to what interrupt is being acknowledged it just |
1940 //clears the pending flag for whatever interrupt it is currently asserted | 1940 //clears the pending flag for whatever interrupt it is currently asserted |
1941 //which may be different from the interrupt it was asserting when the 68k | 1941 //which may be different from the interrupt it was asserting when the 68k |