summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-08-06 00:06:36 -0700
committerMichael Pavone <pavone@retrodev.com>2017-08-06 00:06:36 -0700
commit581601741c3b94bc66a03eece1774618312b260a (patch)
treeb554582c4e697996207ceb7bf207177f6ade235d /ym2612.h
parent3b9d676e5bc08488d54b2479201ede060f727b68 (diff)
WIP - New savestate format
Diffstat (limited to 'ym2612.h')
-rw-r--r--ym2612.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ym2612.h b/ym2612.h
index 124e3e1..9f2bd25 100644
--- a/ym2612.h
+++ b/ym2612.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <stdio.h>
+#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_