diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-08-06 00:06:36 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-08-06 00:06:36 -0700 |
commit | 581601741c3b94bc66a03eece1774618312b260a (patch) | |
tree | b554582c4e697996207ceb7bf207177f6ade235d /psg.h | |
parent | 3b9d676e5bc08488d54b2479201ede060f727b68 (diff) |
WIP - New savestate format
Diffstat (limited to 'psg.h')
-rw-r--r-- | psg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,7 @@ #define PSG_CONTEXT_H_ #include <stdint.h> +#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_ |