summaryrefslogtreecommitdiff
path: root/source/snapshot.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-04-23 10:30:44 +0800
committerIan C <ianc@noddybox.co.uk>2023-04-23 10:30:44 +0800
commit62e0729de4b856d1230e5fd2d6558c188386a683 (patch)
treec62ba2584aed4cf19ce0a1592305c806fde9dde9 /source/snapshot.c
parentd68d6a14ba9c37eef243d6b739d590ec0f05c6c4 (diff)
Added global last_dir[] to record last file selector dir.HEADmaster
Diffstat (limited to 'source/snapshot.c')
-rw-r--r--source/snapshot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/snapshot.c b/source/snapshot.c
index b64d309..5be1358 100644
--- a/source/snapshot.c
+++ b/source/snapshot.c
@@ -137,7 +137,6 @@ void SNAP_Save(Z80 *cpu, SnapshotType type)
void SNAP_Load(Z80 *cpu, const char *optional_name, SnapshotType type)
{
- static char last_dir[FILENAME_MAX] = "/";
char file[FILENAME_MAX];
FILE *fp = NULL;