diff --git a/src/util/SFile.cpp b/src/util/SFile.cpp index 9aafa45..e741b3e 100644 --- a/src/util/SFile.cpp +++ b/src/util/SFile.cpp @@ -26,6 +26,11 @@ int32_t SFile::IsStreamingMode() { return 0; } +int32_t SFile::IsStreamingTrial() { + // TODO + return 0; +} + // TODO Proper implementation int32_t SFile::Load(SArchive* archive, const char* filename, void** buffer, size_t* bytes, size_t extraBytes, uint32_t flags, SOVERLAPPED* overlapped) { auto pathLen = SStrLen(filename); diff --git a/src/util/SFile.hpp b/src/util/SFile.hpp index a374d1d..244bb14 100644 --- a/src/util/SFile.hpp +++ b/src/util/SFile.hpp @@ -16,6 +16,7 @@ class SFile { static int32_t Close(SFile*); static size_t GetFileSize(SFile*, size_t*); static int32_t IsStreamingMode(); + static int32_t IsStreamingTrial(); static int32_t Load(SArchive*, const char*, void**, size_t*, size_t, uint32_t, SOVERLAPPED*); static int32_t Open(const char*, SFile**); static int32_t OpenEx(SArchive*, const char*, uint32_t, SFile**);