summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-01-01 07:06:57 -0800
committerMike Pavone <pavone@retrodev.com>2013-01-01 07:06:57 -0800
commit88d0d276444ed44b8dbfb29eebf14e87ebf0e403 (patch)
treef48c3962cd762f780c218224e7fd441d1687571b /vdp.h
parent4bf659a1272fdf8d1e4d8213aa584adf591dad76 (diff)
Make writes to control and data port block when DMA is in progress
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdp.h b/vdp.h
index b3d5e17..6d6036e 100644
--- a/vdp.h
+++ b/vdp.h
@@ -126,7 +126,7 @@ void vdp_run_dma_done(vdp_context * context, uint32_t target_cycles);
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);