RemoveFooter() on WAD creation.

This commit is contained in:
givememystuffplease 2010-08-16 16:16:43 +00:00
parent eb6a8c9069
commit f0a6219e1f
2 changed files with 1 additions and 0 deletions

View File

@ -442,6 +442,7 @@ namespace libWiiSharp
fireDebug(" Creating WAD..."); fireDebug(" Creating WAD...");
WAD wad = WAD.Create(cert, tik, tmd, contents); WAD wad = WAD.Create(cert, tik, tmd, contents);
wad.RemoveFooter();
wadName = wadName.Replace("[v]", this.TitleVersion.ToString()); wadName = wadName.Replace("[v]", this.TitleVersion.ToString());
if (wadName.Contains(Path.DirectorySeparatorChar.ToString()) || wadName.Contains(Path.AltDirectorySeparatorChar.ToString())) if (wadName.Contains(Path.DirectorySeparatorChar.ToString()) || wadName.Contains(Path.AltDirectorySeparatorChar.ToString()))
wad.Save(wadName); wad.Save(wadName);