mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-05-17 07:21:43 +00:00
ObjLoading: Fix loading the wrong chunkbuffer window data when trying to shift chunkbuffer
This commit is contained in:
@@ -44,6 +44,7 @@ class IPakEntryReadStream final : public FileAPI::IFile
|
||||
return num / alignTo * alignTo;
|
||||
}
|
||||
|
||||
size_t ReadChunks(uint8_t* buffer, int64_t startPos, size_t chunkCount) const;
|
||||
bool SetChunkBufferWindow(int64_t startPos, size_t chunkCount);
|
||||
bool ValidateBlockHeader(IPakDataBlockHeader* blockHeader) const;
|
||||
bool AdjustChunkBufferWindowForBlockHeader(IPakDataBlockHeader* blockHeader, size_t blockOffsetInChunk);
|
||||
|
||||
Reference in New Issue
Block a user