Delete saves implemented

This commit is contained in:
simon.kagstrom 2009-01-05 13:33:04 +00:00
parent 7173ef72dc
commit de12b0e4bd

View File

@ -298,9 +298,7 @@ void C64::save_load_state(Prefs *np)
snprintf(buf, 255, "%s/%s", SAVES_PATH, file_list[save]); snprintf(buf, 255, "%s/%s", SAVES_PATH, file_list[save]);
if (opt == 2) if (opt == 2)
{ unlink(buf);
/* FIXME! Delete */
}
else /* Load the snapshot */ else /* Load the snapshot */
this->LoadSnapshot(buf); this->LoadSnapshot(buf);
} }