From de12b0e4bd8ba28dd0d6ad40661a7d4f1b2687bb Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Mon, 5 Jan 2009 13:33:04 +0000 Subject: [PATCH] Delete saves implemented --- Src/C64_SDL.i | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Src/C64_SDL.i b/Src/C64_SDL.i index e3879fe..649042c 100644 --- a/Src/C64_SDL.i +++ b/Src/C64_SDL.i @@ -298,9 +298,7 @@ void C64::save_load_state(Prefs *np) snprintf(buf, 255, "%s/%s", SAVES_PATH, file_list[save]); if (opt == 2) - { - /* FIXME! Delete */ - } + unlink(buf); else /* Load the snapshot */ this->LoadSnapshot(buf); }