feat(util): stub SFile::IsStreamingTrial

This commit is contained in:
fallenoak committed 2025-10-11 16:43:47 -05:00
1 parent a71f15bfe1
commit fb00da2899
2 files changed
+6

No files matched your search

+5
View File
@@ -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);
+1
View File
@@ -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**);