mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2026-02-27 14:05:29 -05:00
Write the footer at the bottom when dumping
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "libWiiPy"
|
name = "libWiiPy"
|
||||||
version = "0.4.2"
|
version = "0.5.0"
|
||||||
authors = [
|
authors = [
|
||||||
{ name="NinjaCheetah", email="ninjacheetah@ncxprogramming.com" },
|
{ name="NinjaCheetah", email="ninjacheetah@ncxprogramming.com" },
|
||||||
{ name="Lillian Skinner", email="lillian@randommeaninglesscharacters.com" }
|
{ name="Lillian Skinner", email="lillian@randommeaninglesscharacters.com" }
|
||||||
|
|||||||
@@ -174,12 +174,12 @@ class WAD:
|
|||||||
# Retrieve the TMD data and write it out.
|
# Retrieve the TMD data and write it out.
|
||||||
wad_data += self.get_tmd_data()
|
wad_data += self.get_tmd_data()
|
||||||
wad_data = _pad_bytes(wad_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.
|
# Retrieve the content data and write it out.
|
||||||
wad_data += self.get_content_data()
|
wad_data += self.get_content_data()
|
||||||
wad_data = _pad_bytes(wad_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
|
return wad_data
|
||||||
|
|
||||||
def get_wad_type(self) -> str:
|
def get_wad_type(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user