Extraction progress logs are now only shown in verbose mode.

This commit is contained in:
Jakcron
2022-04-15 00:21:35 +08:00
parent c0ce043b30
commit 247045ba8f
6 changed files with 60 additions and 21 deletions
+4 -1
View File
@@ -200,7 +200,10 @@ void ctrtool::RomFsProcess::visitDir(const tc::io::Path& v_path, const tc::io::P
// build out path
out_path = l_path + *itr;
fmt::print(stderr, "[{} LOG] Saving {}...\n", mModuleLabel, out_path.to_string());
if (mVerbose)
{
fmt::print(stderr, "[{} LOG] Saving {}...\n", mModuleLabel, out_path.to_string());
}
// begin export
mFsReader->openFile(v_path + *itr, tc::io::FileMode::Open, tc::io::FileAccess::Read, in_stream);