summaryrefslogtreecommitdiff
path: root/m68k_core.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 /m68k_core.h
parent3b9d676e5bc08488d54b2479201ede060f727b68 (diff)
WIP - New savestate format
Diffstat (limited to 'm68k_core.h')
-rw-r--r--m68k_core.h3
1 files changed, 3 insertions, 0 deletions
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 <stdint.h>
#include <stdio.h>
#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_