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 --- m68k_core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'm68k_core.h') diff --git a/m68k_core.h b/m68k_core.h index a18d706..529a8a7 100644 --- a/m68k_core.h +++ b/m68k_core.h @@ -8,6 +8,7 @@ #include #include #include "backend.h" +#include "serialize.h" //#include "68kinst.h" struct m68kinst; @@ -116,6 +117,8 @@ uint32_t get_instruction_start(m68k_options *opts, uint32_t address); 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_ -- cgit v1.2.3