From 21ba65d4c3eb3dbbf196f8b70c61add08b491658 Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Thu, 22 Apr 2021 14:39:44 -0400 Subject: Warn unaccounted and name small zero-only unaccounted as padding (#118) * warn unaccounted Signed-off-by: Angie * count the unaccounteds at the end of each file Signed-off-by: Angie * print the internal filename Signed-off-by: Angie * fix merge problem * Add `-wu` flag * Remove redundant code * Add `possiblePadding` detection * run format --- ZAPD/ZArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ZAPD/ZArray.cpp') 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. -- cgit v1.2.3