Mercurial > repos > blastem
diff vdp.h @ 1427:4e5797b3935a
WIP - New savestate format
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 06 Aug 2017 00:06:36 -0700 |
parents | b56c8c51ca5d |
children | 2540c05520f2 |
line wrap: on
line diff
--- a/vdp.h Fri Jul 07 21:44:49 2017 -0700 +++ b/vdp.h Sun Aug 06 00:06:36 2017 -0700 @@ -9,6 +9,7 @@ #include <stdint.h> #include <stdio.h> #include "system.h" +#include "serialize.h" #define VDP_REGS 24 #define CRAM_SIZE 64 @@ -199,11 +200,9 @@ uint8_t max_sprites_line; uint8_t fetch_tmp[2]; uint8_t v_offset; - uint8_t dma_cd; uint8_t hint_counter; uint8_t flags2; uint8_t double_res; - uint8_t b32; uint8_t buf_a_off; uint8_t buf_b_off; uint8_t debug; @@ -250,5 +249,7 @@ void vdp_pbc_pause(vdp_context *context); void vdp_release_framebuffer(vdp_context *context); void vdp_reacquire_framebuffer(vdp_context *context); +void vdp_serialize(vdp_context *context, serialize_buffer *buf); +void vdp_deserialize(deserialize_buffer *buf, void *vcontext); #endif //VDP_H_