mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:07:42 +00:00
update nod
This commit is contained in:
@@ -341,7 +341,7 @@ struct SpecMP1 : SpecBase
|
||||
/* Extract non-pak files */
|
||||
progress(_S("MP1 Root"), _S(""), 3, 0.0);
|
||||
int prog = 0;
|
||||
ctx.progressCB = [&](const std::string& name) {
|
||||
ctx.progressCB = [&](const std::string& name, float) {
|
||||
hecl::SystemStringView nameView(name);
|
||||
progress(_S("MP1 Root"), nameView.c_str(), 3, prog / (float)m_nonPaks.size());
|
||||
};
|
||||
|
||||
@@ -229,7 +229,7 @@ struct SpecMP2 : SpecBase
|
||||
mp2OutPath.makeDir();
|
||||
progress(_S("MP2 Root"), _S(""), 3, 0.0);
|
||||
int prog = 0;
|
||||
ctx.progressCB = [&](const std::string& name) {
|
||||
ctx.progressCB = [&](const std::string& name, float) {
|
||||
hecl::SystemStringView nameView(name);
|
||||
progress(_S("MP2 Root"), nameView.c_str(), 3, prog / (float)m_nonPaks.size());
|
||||
};
|
||||
|
||||
@@ -334,7 +334,7 @@ struct SpecMP3 : SpecBase
|
||||
size_t nodeCount = 0;
|
||||
int prog = 0;
|
||||
nod::ExtractionContext ctx = {true, force,
|
||||
[&](const std::string& name)
|
||||
[&](const std::string& name, float)
|
||||
{
|
||||
hecl::SystemStringView nameView(name);
|
||||
progress(currentTarget.c_str(), nameView.c_str(), compIdx, prog / (float)nodeCount);
|
||||
|
||||
2
nod
2
nod
Submodule nod updated: 2bc7c4e568...e494dbba9f
Reference in New Issue
Block a user