summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-07-26 19:55:04 -0700
committerMike Pavone <pavone@retrodev.com>2013-07-26 19:55:04 -0700
commita75eb24bfbbf0dd3492c8414cfaafa0569a1539a (patch)
tree394d6b3f79abcc178c6881bbe9b076dd62d4ce7e /vdp.h
parentf09e868c52d367731accb654a3de3c95c5694519 (diff)
Added support for saving savestates. Added gst savestate format test harness
Diffstat (limited to 'vdp.h')
-rw-r--r--vdp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/vdp.h b/vdp.h
index 97be57b..15f86b1 100644
--- a/vdp.h
+++ b/vdp.h
@@ -164,7 +164,7 @@ uint32_t vdp_run_to_vblank(vdp_context * context);
//runs until the target cycle is reached or the current DMA operation has completed, whicever comes first
void vdp_run_dma_done(vdp_context * context, uint32_t target_cycles);
uint8_t vdp_load_gst(vdp_context * context, FILE * state_file);
-void vdp_save_state(vdp_context * context, FILE * outfile);
+uint8_t vdp_save_gst(vdp_context * context, FILE * outfile);
int vdp_control_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);
@@ -177,5 +177,8 @@ uint32_t vdp_next_vint_z80(vdp_context * context);
void vdp_int_ack(vdp_context * context, uint16_t int_num);
void vdp_print_sprite_table(vdp_context * context);
void vdp_print_reg_explain(vdp_context * context);
+void latch_mode(vdp_context * context);
+
+extern int32_t color_map[1 << 12];
#endif //VDP_H_