| 804 | } |
| 805 | |
| 806 | bool RemoveFile(const char *pFilename, int Type) override |
| 807 | { |
| 808 | dbg_assert(Type == TYPE_ABSOLUTE || (Type >= TYPE_SAVE && Type < m_NumPaths), "Type invalid"); |
| 809 | |
| 810 | char aBuffer[IO_MAX_PATH_LENGTH]; |
| 811 | GetPath(Type, pFilename, aBuffer, sizeof(aBuffer)); |
| 812 | |
| 813 | return fs_remove(aBuffer) == 0; |
| 814 | } |
| 815 | |
| 816 | bool RemoveFolder(const char *pFilename, int Type) override |
| 817 | { |