Protofall / Crayon-Savefile

A savefile system designed to take up little space and support version control. Works on PC and Dreamcast
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Need to use proper way to delete VMU savefiles #37

Open Protofall opened 4 years ago

Protofall commented 4 years ago

BlueCrab said I shouldn't be using vmufs_ stuff and instead I should be using unlink() for deleting the savefiles.

If not unlink, maybe just remove() for both

Protofall commented 4 years ago

unlink() removes the file entry and marks the blocks as free.

BlueCrab: I believe that doing a stat on the /vmu/a1 (or whatever) directory should tell you the number of blocks.