2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

Glob path extract fix

This commit is contained in:
Jack Andersen
2016-09-24 18:03:34 -10:00
parent 7f987ab10e
commit ae4f770ca2
2 changed files with 21 additions and 2 deletions

View File

@@ -523,7 +523,7 @@ bool PAKRouter<BRIDGETYPE>::extractResources(const BRIDGETYPE& pakBridge, bool f
if (extractor.func_a) /* Doesn't need PAKRouter access */
{
if (force || working.isNone())
if (force || !extractor.IsFullyExtracted(working))
{
PAKEntryReadStream s = item->beginReadStream(*node);
extractor.func_a(s, working);
@@ -531,7 +531,7 @@ bool PAKRouter<BRIDGETYPE>::extractResources(const BRIDGETYPE& pakBridge, bool f
}
else if (extractor.func_b) /* Needs PAKRouter access */
{
if (force || working.isNone())
if (force || !extractor.IsFullyExtracted(working))
{
PAKEntryReadStream s = item->beginReadStream(*node);
extractor.func_b(m_dataSpec, s, working, *this, *item, force, btok,