mirror of https://github.com/AxioDL/metaforce.git
Progress count fix
This commit is contained in:
parent
8fc0d57500
commit
b175df5154
|
@ -453,13 +453,17 @@ bool PAKRouter<BRIDGETYPE>::extractResources(const BRIDGETYPE& pakBridge, bool f
|
||||||
if (extractor.weight != w)
|
if (extractor.weight != w)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
/* This is used to ensure parallel extracts won't collide files */
|
||||||
if (precedenceSharesOnly)
|
if (precedenceSharesOnly)
|
||||||
{
|
{
|
||||||
auto sharedSearch = m_sharedEntries.find(item->id);
|
auto sharedSearch = m_sharedEntries.find(item->id);
|
||||||
if (sharedSearch != m_sharedEntries.cend())
|
if (sharedSearch != m_sharedEntries.cend())
|
||||||
{
|
{
|
||||||
if (sharedSearch->second.first != reinterpret_cast<intptr_t>(m_curBridgeIdx.get()))
|
if (sharedSearch->second.first != reinterpret_cast<intptr_t>(m_curBridgeIdx.get()))
|
||||||
|
{
|
||||||
|
++count;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue