From c7f2f28a81118a25f1dec4fa5a97eae4786ea909 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Wed, 16 Oct 2019 18:00:36 -0500 Subject: [PATCH] Fix CleanDirectoryRecursivelyGeneric --- src/LibHac/FsSystem/FileSystemExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibHac/FsSystem/FileSystemExtensions.cs b/src/LibHac/FsSystem/FileSystemExtensions.cs index cbe7478d..b07becfb 100644 --- a/src/LibHac/FsSystem/FileSystemExtensions.cs +++ b/src/LibHac/FsSystem/FileSystemExtensions.cs @@ -205,7 +205,7 @@ namespace LibHac.FsSystem { IFileSystem fs = fileSystem; - foreach (DirectoryEntryEx entry in fileSystem.EnumerateEntries(path, "*")) + foreach (DirectoryEntryEx entry in fileSystem.EnumerateEntries(path, "*", SearchOptions.Default)) { string subPath = PathTools.Combine(path, entry.Name);