diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2021-12-25 18:34:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-25 18:34:48 -0500 |
| commit | 8673a23e3e7d9a311ca7953e0a82ea830a581426 (patch) | |
| tree | 477c631d0b0085f17efaba4a06a7805f7dc010ae /ZAPD/ZFile.cpp | |
| parent | 3e2c2eadcce68e895cd2b44f4633e8271ff85a74 (diff) | |
Add option for f3dex (#214)
* add option for f3dex
* fix
* Make it actually good
* Update ZAPD/Main.cpp
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Diffstat (limited to 'ZAPD/ZFile.cpp')
| -rw-r--r-- | ZAPD/ZFile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp index 77387fc..f1d50a8 100644 --- a/ZAPD/ZFile.cpp +++ b/ZAPD/ZFile.cpp @@ -192,7 +192,7 @@ void ZFile::ParseXML(tinyxml2::XMLElement* reader, const std::string& filename) rawData = File::ReadAllBytes((basePath / name).string()); if (reader->Attribute("RangeEnd") == nullptr) - rangeEnd = rawData.size(); + rangeEnd = rawData.size(); } std::unordered_set<std::string> nameSet; @@ -378,7 +378,7 @@ void ZFile::ExtractResources() ZResourceExporter* exporter = Globals::Instance->GetExporter(res->GetResourceType()); if (exporter != nullptr) { - //exporter->Save(res, Globals::Instance->outputPath.string(), &writerFile); + // exporter->Save(res, Globals::Instance->outputPath.string(), &writerFile); exporter->Save(res, Globals::Instance->outputPath.string(), &writerRes); } @@ -391,7 +391,7 @@ void ZFile::ExtractResources() File::WriteAllBytes(StringHelper::Sprintf("%s%s.bin", Globals::Instance->outputPath.string().c_str(), GetName().c_str()), - memStreamFile->ToVector()); + memStreamFile->ToVector()); } writerFile.Close(); |
