Mercurial > repos > blastem
diff lc8951.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 | 8e6fb2c06024 |
children | 9f0c67e5c50a |
line wrap: on
line diff
--- a/lc8951.h Sun Jan 08 14:20:43 2023 -0800 +++ b/lc8951.h Sun Jan 08 14:42:24 2023 -0800 @@ -2,6 +2,7 @@ #define LC8951_H_ #include <stdint.h> +#include "serialize.h" typedef uint8_t (*lcd8951_byte_recv_fun)(void *data, uint8_t byte); @@ -43,5 +44,7 @@ uint32_t lc8951_next_interrupt(lc8951 *context); void lc8951_resume_transfer(lc8951 *context, uint32_t cycle); void lc8951_adjust_cycles(lc8951 *context, uint32_t deduction); +void lc8951_serialize(lc8951 *context, serialize_buffer *buf); +void lc8951_deserialize(deserialize_buffer *buf, void *vcontext); #endif //LC8951_H_