mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Windows build fixes and warning avoidance
This commit is contained in:
@@ -249,7 +249,7 @@ struct SpecMP1 : SpecBase
|
||||
}
|
||||
}
|
||||
|
||||
m_paks.emplace_back(m_project, child, good);
|
||||
m_paks.emplace_back(child, good);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1313,7 +1313,7 @@ struct SpecMP1 : SpecBase
|
||||
auto layerIt = area.depLayers.cbegin();
|
||||
while (it != area.deps.cend())
|
||||
{
|
||||
if (it - area.deps.cbegin() == *layerIt)
|
||||
if (layerIt != area.depLayers.cend() && it - area.deps.cbegin() == *layerIt)
|
||||
{
|
||||
strippedDepLayers.push_back(atUint32(strippedDeps.size()));
|
||||
++layerIt;
|
||||
|
||||
Reference in New Issue
Block a user