diff options
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 */  | 
