mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -510,3 +510,8 @@ bool FILESYSTEM_openDirectory(const char *dname)
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool FILESYSTEM_delete(const char *name)
|
||||
{
|
||||
return PHYSFS_delete(name) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user