From b175df51543b67319dddc98bcaf58b9fd4e592a6 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Thu, 31 Mar 2016 18:53:08 -1000 Subject: [PATCH] Progress count fix --- DataSpec/DNACommon/PAK.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DataSpec/DNACommon/PAK.cpp b/DataSpec/DNACommon/PAK.cpp index 3a9048439..9482f0b8b 100644 --- a/DataSpec/DNACommon/PAK.cpp +++ b/DataSpec/DNACommon/PAK.cpp @@ -453,13 +453,17 @@ bool PAKRouter::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(m_curBridgeIdx.get())) + { + ++count; continue; + } } }