Return errors on disk full for file creation.

This commit is contained in:
Unknown W. Brackets committed 2014-11-02 12:40:31 -08:00
1 parent d4e8bd96af
commit a6a234add1
7 files changed
+57 -13

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ struct DirectoryFileHandle
}
std::string GetLocalPath(std::string& basePath, std::string localpath);
bool Open(std::string& basePath, std::string& fileName, FileAccess access);
bool Open(std::string& basePath, std::string& fileName, FileAccess access, u32 &err);
size_t Read(u8* pointer, s64 size);
size_t Write(const u8* pointer, s64 size);
size_t Seek(s32 position, FileMove type);