From 62e0729de4b856d1230e5fd2d6558c188386a683 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 23 Apr 2023 10:30:44 +0800 Subject: Added global last_dir[] to record last file selector dir. --- source/snapshot.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/snapshot.c') 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; -- cgit v1.2.3