mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
ObjLoading: Fix not increasing head on reading uncompressed ipak data
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user