diff psg.h @ 1427:4e5797b3935a

WIP - New savestate format
author Michael Pavone <pavone@retrodev.com>
date Sun, 06 Aug 2017 00:06:36 -0700
parents 8d032a368dd5
children ce1f93be0104
line wrap: on
line diff
--- a/psg.h	Fri Jul 07 21:44:49 2017 -0700
+++ b/psg.h	Sun Aug 06 00:06:36 2017 -0700
@@ -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_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_