2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 23:37:02 +00:00

FourCCs are light enough to construct on demand

This commit is contained in:
Jack Andersen
2015-08-09 16:03:44 -10:00
parent 310aa10116
commit 99bb5df7f3
5 changed files with 12 additions and 98 deletions

View File

@@ -24,7 +24,7 @@ PAKBridge::PAKBridge(HECL::Database::Project& project, const NOD::DiscBase::IPar
std::set<HECL::SystemString, CaseInsensitiveCompare> uniq;
for (const PAK::Entry& entry : m_pak.m_entries)
{
if (entry.type == Retro::MLVL)
if (entry.type == SBIG('MLVL'))
{
PAKEntryReadStream rs = entry.beginReadStream(m_node);
MLVL mlvl;
@@ -35,7 +35,7 @@ PAKBridge::PAKBridge(HECL::Database::Project& project, const NOD::DiscBase::IPar
PAKEntryReadStream rs = nameEnt->beginReadStream(m_node);
STRG mlvlName;
mlvlName.read(rs);
uniq.insert(mlvlName.getSystemString(ENGL, 0));
uniq.insert(mlvlName.getSystemString(FourCC(SBIG('ENGL')), 0));
}
}
}