mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-15 01:07:58 -05:00
ZoneLoading: Simulate the vanilla edge case that the chunk size is in the end of the loadbuffer and cannot quite fit into it so the space is padded and the chunk size is loaded from the beginning of the buffer
This commit is contained in:
@ -8,4 +8,9 @@ LoadingFileStream::LoadingFileStream(FileAPI::File* file)
|
||||
size_t LoadingFileStream::Load(void* buffer, const size_t length)
|
||||
{
|
||||
return m_file->Read(buffer, 1, length);
|
||||
}
|
||||
|
||||
int64_t LoadingFileStream::Pos()
|
||||
{
|
||||
return m_file->Pos();
|
||||
}
|
Reference in New Issue
Block a user