From 3cf17ecef2ac48e92910ac971fec9ea5b3eeb1d3 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 12 Dec 2008 00:19:08 +0000 Subject: Implemented snapshots and SAVE. --- include/snapshot.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include/snapshot.h') diff --git a/include/snapshot.h b/include/snapshot.h index 0afd20b..5b0f536 100644 --- a/include/snapshot.h +++ b/include/snapshot.h @@ -24,8 +24,14 @@ #include "z80.h" +typedef enum +{ + SNAP_TYPE_FULL, + SNAP_TYPE_KEYBOARD +} SnapshotType; + void SNAP_Enable(int enable); -void SNAP_Save(Z80 *cpu); -void SNAP_Load(Z80 *cpu, const char *optional_name); +void SNAP_Save(Z80 *cpu, SnapshotType type); +void SNAP_Load(Z80 *cpu, const char *optional_name, SnapshotType type); #endif /* DS81_SNAPSHOT_H */ -- cgit v1.2.3