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