mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
Fix writing whole file everytime an uncompressed command is written
This commit is contained in:
parent
d779dfd884
commit
fa72a6d5db
@ -221,7 +221,7 @@ public:
|
||||
|
||||
if (writeUncompressed)
|
||||
{
|
||||
Write(data, dataSize);
|
||||
Write(&static_cast<const char*>(data)[dataOffset], commandSize);
|
||||
|
||||
const auto currentCommand = m_current_block.countAndOffset.count;
|
||||
m_current_block.commands[currentCommand].size = commandSize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user