diff options
Diffstat (limited to 'os2.c')
-rw-r--r-- | os2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -415,12 +415,12 @@ void FiosMakeSavegameName(char *buf, const char *name) sprintf(buf, "%s\\%s%s", _fios_path, name, extension); } -void FiosDelete(const char *name) +bool FiosDelete(const char *name) { char path[512]; snprintf(path, lengthof(path), "%s\\%s", _fios_path, name); - unlink(path); + return unlink(path) == 0; } bool FileExists(const char *filename) |