From 581601741c3b94bc66a03eece1774618312b260a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 6 Aug 2017 00:06:36 -0700 Subject: WIP - New savestate format --- psg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'psg.h') diff --git a/psg.h b/psg.h index d1b8541..0e11328 100644 --- a/psg.h +++ b/psg.h @@ -7,6 +7,7 @@ #define PSG_CONTEXT_H_ #include +#include "serialize.h" typedef struct { int16_t *audio_buffer; @@ -38,6 +39,8 @@ void psg_free(psg_context *context); void psg_adjust_master_clock(psg_context * context, uint32_t master_clock); void psg_write(psg_context * context, uint8_t value); void psg_run(psg_context * context, uint32_t cycles); +void psg_serialize(psg_context *context, serialize_buffer *buf); +void psg_deserialize(deserialize_buffer *buf, void *vcontext); #endif //PSG_CONTEXT_H_ -- cgit v1.2.3