mirror of https://github.com/AxioDL/metaforce.git
0-size buffer fix
This commit is contained in:
parent
a2c5d891b5
commit
337e087182
|
@ -1 +1 @@
|
|||
Subproject commit 0fa861b708ac836323aadc673407a9a81e714ddb
|
||||
Subproject commit 57e5196e726a4a53d55057130554cac812a40a61
|
|
@ -984,8 +984,11 @@ private:
|
|||
m_iboSz(iboData.size()*4), m_iboData(new uint8_t[iboData.size()*4]),
|
||||
m_surfaces(std::move(surfaces)), m_skinBanks(skinBanks)
|
||||
{
|
||||
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
||||
w.enumerateLittle(iboData);
|
||||
if (m_iboSz)
|
||||
{
|
||||
athena::io::MemoryWriter w(m_iboData.get(), m_iboSz);
|
||||
w.enumerateLittle(iboData);
|
||||
}
|
||||
}
|
||||
public:
|
||||
HMDLMeta m_meta;
|
||||
|
|
Loading…
Reference in New Issue