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 --- ym2612.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 124e3e1..9f2bd25 100644 --- a/ym2612.h +++ b/ym2612.h @@ -8,6 +8,7 @@ #include #include +#include "serialize.h" #define NUM_PART_REGS (0xB7-0x30) #define NUM_CHANNELS 6 @@ -143,6 +144,8 @@ uint8_t ym_load_gst(ym2612_context * context, FILE * gstfile); uint8_t ym_save_gst(ym2612_context * context, FILE * gstfile); void ym_print_channel_info(ym2612_context *context, int channel); void ym_print_timer_info(ym2612_context *context); +void ym_serialize(ym2612_context *context, serialize_buffer *buf); +void ym_deserialize(deserialize_buffer *buf, void *vcontext); #endif //YM2612_H_ -- cgit v1.2.3