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 /ym2612.h | |
parent | 3b9d676e5bc08488d54b2479201ede060f727b68 (diff) |
WIP - New savestate format
Diffstat (limited to 'ym2612.h')
-rw-r--r-- | ym2612.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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_ |