Fix a bug in U8 - Credit to Hallowizer (https://github.com/dnasdw/libwiisharp/pull/4)

This commit is contained in:
Michael 2022-03-21 21:15:22 -05:00
parent 597516d426
commit ccde74a090
Signed by: TheShadowEevee
GPG key ID: 7A8AA92B3BAFAB75

2
U8.cs
View file

@ -710,7 +710,7 @@ namespace libWiiSharp
int num3 = u8Nodes.Count + 2; int num3 = u8Nodes.Count + 2;
for (int index2 = 0; index2 < dirContent.Length; ++index2) for (int index2 = 0; index2 < dirContent.Length; ++index2)
{ {
if (dirContent[index2].Contains(dirContent[index1] + "\\")) if (dirContent[index2].Contains(dirContent[index1] + Path.DirectorySeparatorChar))
{ {
++num3; ++num3;
} }