mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:07:42 +00:00
bug fixes with MP1's spec
This commit is contained in:
@@ -34,6 +34,12 @@ void PAK::read(Athena::io::IStreamReader& reader)
|
||||
m_idMap[m_entries.back().id] = &m_entries.back();
|
||||
}
|
||||
|
||||
atUint32 realCount = 0;
|
||||
for (Entry& entry : m_entries)
|
||||
{
|
||||
++realCount;
|
||||
}
|
||||
|
||||
m_nameMap.clear();
|
||||
m_nameMap.reserve(nameCount);
|
||||
for (NameEntry& entry : m_nameEntries)
|
||||
|
||||
Reference in New Issue
Block a user