diff rf5c164.h @ 2280:9ead0fe69d9b

Implement savestate support for Sega CD
author Michael Pavone <pavone@retrodev.com>
date Sun, 08 Jan 2023 14:42:24 -0800
parents 5a21bc0ec583
children
line wrap: on
line diff
--- a/rf5c164.h	Sun Jan 08 14:20:43 2023 -0800
+++ b/rf5c164.h	Sun Jan 08 14:42:24 2023 -0800
@@ -3,6 +3,7 @@
 #include <stdint.h>
 #include "render_audio.h"
 #include "oscilloscope.h"
+#include "serialize.h"
 
 typedef struct {
 	uint32_t cur_ptr;
@@ -39,5 +40,7 @@
 void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value);
 uint8_t rf5c164_read(rf5c164* pcm, uint16_t address);
 void rf5c164_enable_scope(rf5c164* pcm, oscilloscope *scope);
+void rf5c164_serialize(rf5c164* pcm, serialize_buffer *buf);
+void rf5c164_deserialize(deserialize_buffer *buf, void *vpcm);
 
 #endif //RF5C164_H_