diff options
author | Ian C <ianc@noddybox.co.uk> | 2008-11-03 17:07:32 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2008-11-03 17:07:32 +0000 |
commit | 603f3fac82ccb77775d53fd77ae7c32167116ad7 (patch) | |
tree | 912d684087250ca5cac6e597e06277f1c83f33b0 /include/z80.h | |
parent | 1aaaca17a1dc30727578e5fa3755ee6fc05b238d (diff) |
Initial snapshot code (in progress)
Diffstat (limited to 'include/z80.h')
-rw-r--r-- | include/z80.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/z80.h b/include/z80.h index 000b950..1250356 100644 --- a/include/z80.h +++ b/include/z80.h @@ -27,6 +27,8 @@ #ifndef Z80_H #define Z80_H "$Id$" +#include <stdio.h> + /* Configuration */ #include "z80_config.h" @@ -245,6 +247,11 @@ void Z80SetLabels(Z80Label labels[]); */ const char *Z80Disassemble(Z80 *cpu, Z80Word *addr); +/* Allows the CPU state to be saved/loaded from a stream +*/ +void Z80SaveSnapshot(Z80 *cpu, FILE *fp); +void Z80LoadSnapshot(Z80 *cpu, FILE *fp); + #endif /* END OF FILE */ |