mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Lots of CResFactory fixes
This commit is contained in:
@@ -1165,8 +1165,6 @@ struct SpecMP1 : SpecBase
|
||||
nameEnt.name = parentDir.getLastComponent();
|
||||
nameEnt.write(w);
|
||||
|
||||
w.writeUint32Big(atUint32(count));
|
||||
resTableOffset = w.position();
|
||||
for (const auto& area : mlvl.areas)
|
||||
for (const auto& dep : area.deps)
|
||||
listOut.push_back({dep.type, dep.id.toUint32()});
|
||||
@@ -1231,6 +1229,8 @@ struct SpecMP1 : SpecBase
|
||||
|
||||
listOut.push_back(worldTag);
|
||||
|
||||
w.writeUint32Big(atUint32(listOut.size()));
|
||||
resTableOffset = w.position();
|
||||
for (const auto& item : listOut)
|
||||
{
|
||||
DNAMP1::PAK::Entry ent;
|
||||
|
||||
Reference in New Issue
Block a user