summaryrefslogtreecommitdiff
path: root/z80_to_x86.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 /z80_to_x86.h
parent3b9d676e5bc08488d54b2479201ede060f727b68 (diff)
WIP - New savestate format
Diffstat (limited to 'z80_to_x86.h')
-rw-r--r--z80_to_x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/z80_to_x86.h b/z80_to_x86.h
index 3663402..0a1f09c 100644
--- a/z80_to_x86.h
+++ b/z80_to_x86.h
@@ -7,6 +7,7 @@
#define Z80_TO_X86_H_
#include "z80inst.h"
#include "backend.h"
+#include "serialize.h"
#define ZNUM_MEM_AREAS 4
#ifdef Z80_LOG_ADDRESS
@@ -108,6 +109,8 @@ void z80_clear_busreq(z80_context * context, uint32_t cycle);
void z80_assert_nmi(z80_context *context, uint32_t cycle);
uint8_t z80_get_busack(z80_context * context, uint32_t cycle);
void z80_adjust_cycles(z80_context * context, uint32_t deduction);
+void z80_serialize(z80_context *context, serialize_buffer *buf);
+void z80_deserialize(deserialize_buffer *buf, void *vcontext);
#endif //Z80_TO_X86_H_