Mercurial > repos > blastem
diff vdp.h @ 149:139e5dcd6aa3
Make writes to control and data port block when DMA is in progress
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 01 Jan 2013 07:06:57 -0800 |
parents | aa3e1bb338c9 |
children | 7504200cac86 |
line wrap: on
line diff
--- a/vdp.h Tue Jan 01 07:04:48 2013 -0800 +++ b/vdp.h Tue Jan 01 07:06:57 2013 -0800 @@ -126,7 +126,7 @@ void vdp_load_savestate(vdp_context * context, FILE * state_file); void vdp_save_state(vdp_context * context, FILE * outfile); int vdp_control_port_write(vdp_context * context, uint16_t value); -void vdp_data_port_write(vdp_context * context, uint16_t value); +int 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); uint16_t vdp_hv_counter_read(vdp_context * context);