Mercurial > repos > blastem
diff vdp.h @ 65:aef6302770c2
Fix issue in which VDP would have trouble emptying FIFO because the VDP cycle count got reset at end of frame.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 19 Dec 2012 22:15:16 -0800 |
parents | a28b1dfe1af2 |
children | 108e587165c0 |
line wrap: on
line diff
--- a/vdp.h Wed Dec 19 21:25:39 2012 -0800 +++ b/vdp.h Wed Dec 19 22:15:16 2012 -0800 @@ -107,5 +107,6 @@ void vdp_data_port_write(vdp_context * context, uint16_t value); uint16_t vdp_control_port_read(vdp_context * context); uint16_t vdp_data_port_read(vdp_context * context); +void vdp_adjust_cycles(vdp_context * context, uint32_t deduction); #endif //VDP_H_