mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-22 09:05:44 +00:00
ObjLoading: Fix not increasing head on reading uncompressed ipak data
This commit is contained in:
parent
28bc614a6d
commit
345687125f
@ -159,6 +159,8 @@ bool IPakEntryReadStream::ProcessCommand(const size_t commandSize, const bool co
|
|||||||
|
|
||||||
memcpy_s(&m_file_buffer[m_file_head], m_file_length - m_file_head, &m_chunk_buffer[m_pos - m_buffer_start_pos],
|
memcpy_s(&m_file_buffer[m_file_head], m_file_length - m_file_head, &m_chunk_buffer[m_pos - m_buffer_start_pos],
|
||||||
commandSize);
|
commandSize);
|
||||||
|
|
||||||
|
m_file_head += commandSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user