mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-16 17:57:57 -05:00
fix: doing wrong alignment on dynamic filling
This commit is contained in:
@ -11,6 +11,8 @@
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#define DEBUG_OFFSETS 1
|
||||
|
||||
class ZoneStreamFillReadAccessor
|
||||
{
|
||||
public:
|
||||
@ -170,6 +172,10 @@ public:
|
||||
return static_cast<T*>(ConvertOffsetToAliasLookup(static_cast<const void*>(offset)));
|
||||
}
|
||||
|
||||
#ifdef DEBUG_OFFSETS
|
||||
virtual void DebugOffsets(size_t assetIndex) const = 0;
|
||||
#endif
|
||||
|
||||
static std::unique_ptr<ZoneInputStream> Create(
|
||||
unsigned pointerBitCount, unsigned blockBitCount, std::vector<XBlock*>& blocks, block_t insertBlock, ILoadingStream& stream, MemoryManager& memory);
|
||||
};
|
||||
|
Reference in New Issue
Block a user