summaryrefslogtreecommitdiff
path: root/ZAPD/ZArray.cpp
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-04-22 14:39:44 -0400
committerGitHub <noreply@github.com>2021-04-22 14:39:44 -0400
commit21ba65d4c3eb3dbbf196f8b70c61add08b491658 (patch)
treee9a62ac979b22be8b437bb57c3bbe7f17ef49412 /ZAPD/ZArray.cpp
parent301e17dadb5f6e9212ebcb704eb9cff75883002e (diff)
Warn unaccounted and name small zero-only unaccounted as padding (#118)
* warn unaccounted Signed-off-by: Angie <angheloalf95@gmail.com> * count the unaccounteds at the end of each file Signed-off-by: Angie <angheloalf95@gmail.com> * print the internal filename Signed-off-by: Angie <angheloalf95@gmail.com> * fix merge problem * Add `-wu` flag * Remove redundant code * Add `possiblePadding` detection * run format
Diffstat (limited to 'ZAPD/ZArray.cpp')
-rw-r--r--ZAPD/ZArray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp
index c6b4e94..f00d85d 100644
--- a/ZAPD/ZArray.cpp
+++ b/ZAPD/ZArray.cpp
@@ -15,7 +15,7 @@ void ZArray::ParseXML(tinyxml2::XMLElement* reader)
arrayCnt = reader->IntAttribute("Count", 0);
testFile = new ZFile(ZFileMode::Extract, reader, Globals::Instance->baseRomPath, "",
- parent->GetName(), true);
+ parent->GetName(), "ZArray subfile", true);
}
// TODO: This is a bit hacky, but until we refactor how ZFile parses the XML, it'll have to do.