2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-21 02:19:11 +00:00

Buffer access fixes

This commit is contained in:
Jack Andersen
2015-09-09 14:08:29 -10:00
parent 83252ea611
commit 23f89ee747
3 changed files with 12 additions and 5 deletions

View File

@@ -348,9 +348,10 @@ public:
if (extractor.weight != w)
continue;
HECL::SystemStringView bestName(getBestEntryName(*item.second));
std::string bestName = getBestEntryName(*item.second);
HECL::SystemStringView bestNameView(bestName);
float thisFac = ++count / fsz;
progress(bestName.sys_str().c_str(), thisFac);
progress(bestNameView.sys_str().c_str(), thisFac);
HECL::ProjectPath cooked = getCooked(item.second);
if (force || cooked.getPathType() == HECL::ProjectPath::PT_NONE)