From ccde74a0908f73bb512949fdc5d7a86f2a5760bf Mon Sep 17 00:00:00 2001 From: TheShadowEevee Date: Mon, 21 Mar 2022 21:15:22 -0500 Subject: [PATCH] Fix a bug in U8 - Credit to Hallowizer (https://github.com/dnasdw/libwiisharp/pull/4) --- U8.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/U8.cs b/U8.cs index 4060ac2..0cf5a50 100644 --- a/U8.cs +++ b/U8.cs @@ -710,7 +710,7 @@ namespace libWiiSharp int num3 = u8Nodes.Count + 2; for (int index2 = 0; index2 < dirContent.Length; ++index2) { - if (dirContent[index2].Contains(dirContent[index1] + "\\")) + if (dirContent[index2].Contains(dirContent[index1] + Path.DirectorySeparatorChar)) { ++num3; }