Write the footer at the bottom when dumping

This commit is contained in:
Campbell 2024-08-01 17:04:59 -04:00
parent f81398e854
commit 415af7b8b8
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "libWiiPy"
version = "0.4.2"
version = "0.5.0"
authors = [
{ name="NinjaCheetah", email="ninjacheetah@ncxprogramming.com" },
{ name="Lillian Skinner", email="lillian@randommeaninglesscharacters.com" }

View File

@ -174,12 +174,12 @@ class WAD:
# Retrieve the TMD data and write it out.
wad_data += self.get_tmd_data()
wad_data = _pad_bytes(wad_data)
# Retrieve the meta/footer data and write it out.
wad_data += self.get_meta_data()
wad_data = _pad_bytes(wad_data)
# Retrieve the content data and write it out.
wad_data += self.get_content_data()
wad_data = _pad_bytes(wad_data)
# Retrieve the meta/footer data and write it out.
wad_data += self.get_meta_data()
wad_data = _pad_bytes(wad_data)
return wad_data
def get_wad_type(self) -> str: