Fix deletequick() and deletetele() not deleting their files

The problem here is that we're directly using the C stdio library,
instead of using PHYSFS's stuff. So I've added a function
FILESYSTEM_delete() that does exactly that.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-26 17:20:16 -04:00
1 parent 842eb669b7
commit 2076898020
3 files changed
+11 -4

No files matched your search

+2
View File
@@ -23,4 +23,6 @@ std::vector<std::string> FILESYSTEM_getLevelDirFileNames();
bool FILESYSTEM_openDirectoryEnabled();
bool FILESYSTEM_openDirectory(const char *dname);
bool FILESYSTEM_delete(const char *name);
#endif /* FILESYSTEMUTILS_H */