mirror of
https://github.com/TheShadowEevee/libWiiSharp.git
synced 2025-01-11 15:38:51 -06:00
Fix breaking loop/Stack Overflow bug
This commit is contained in:
parent
134346bc70
commit
8cdca9ffb0
1 changed files with 3 additions and 5 deletions
8
TMD.cs
8
TMD.cs
|
@ -318,12 +318,12 @@ namespace libWiiSharp
|
|||
string path = str1 + str2 + str3 + ".app";
|
||||
conts[index] = File.ReadAllBytes(path);
|
||||
}
|
||||
UpdateContents(conts);
|
||||
UpdateContentsBytes(conts);
|
||||
}
|
||||
|
||||
public void UpdateContents(byte[][] contents)
|
||||
{
|
||||
UpdateContents(contents);
|
||||
UpdateContentsBytes(contents);
|
||||
}
|
||||
|
||||
public string GetUpperTitleID()
|
||||
|
@ -491,8 +491,7 @@ namespace libWiiSharp
|
|||
FireDebug("Writing TMD Finished...");
|
||||
}
|
||||
|
||||
/*
|
||||
private void PrivUpdateContents(byte[][] conts)
|
||||
private void UpdateContentsBytes(byte[][] conts)
|
||||
{
|
||||
SHA1 shA1 = SHA1.Create();
|
||||
for (int index = 0; index < this.contents.Count; ++index)
|
||||
|
@ -502,7 +501,6 @@ namespace libWiiSharp
|
|||
}
|
||||
shA1.Clear();
|
||||
}
|
||||
*/
|
||||
|
||||
private void ParseTmd(Stream tmdFile)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue