Mercurial > repos > blastem
diff m68k_core.h @ 1427:4e5797b3935a
WIP - New savestate format
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 06 Aug 2017 00:06:36 -0700 |
parents | df6af7187b36 |
children | 2455662378ed 8b2ef428d1aa |
line wrap: on
line diff
--- a/m68k_core.h Fri Jul 07 21:44:49 2017 -0700 +++ b/m68k_core.h Sun Aug 06 00:06:36 2017 -0700 @@ -8,6 +8,7 @@ #include <stdint.h> #include <stdio.h> #include "backend.h" +#include "serialize.h" //#include "68kinst.h" struct m68kinst; @@ -116,6 +117,8 @@ uint16_t m68k_get_ir(m68k_context *context); void m68k_print_regs(m68k_context * context); void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end); +void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf); +void m68k_deserialize(deserialize_buffer *buf, void *vcontext); #endif //M68K_CORE_H_