mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 22:19:12 +00:00
All cooked resources extracting; decompression bug-fixes
This commit is contained in:
@@ -46,7 +46,8 @@ struct PAK : BigDNA
|
||||
inline PAKEntryReadStream beginReadStream(const NOD::DiscBase::IPartition::Node& pak, atUint64 off=0) const
|
||||
{
|
||||
atUint64 sz;
|
||||
return PAKEntryReadStream(getBuffer(pak, sz), sz, off);
|
||||
std::unique_ptr<atUint8[]> buf = getBuffer(pak, sz);
|
||||
return PAKEntryReadStream(std::move(buf), sz, off);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -81,7 +82,7 @@ struct PAK : BigDNA
|
||||
return nentry.name;
|
||||
|
||||
/* Otherwise return ID format string */
|
||||
return entry.id.toString();
|
||||
return entry.type.toString() + '_' + entry.id.toString();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user