From 789e12a9f866790caaacb02b0542a048da463a74 Mon Sep 17 00:00:00 2001 From: Al <26797547+Al12rs@users.noreply.github.com> Date: Sun, 27 Sep 2020 13:28:20 +0200 Subject: Remove incorrect early break in forEachEntry This caused mo2 to skip some mod files for a user, potentially others as well. --- src/envfs.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/envfs.cpp') diff --git a/src/envfs.cpp b/src/envfs.cpp index bdb11c65..20ba4229 100644 --- a/src/envfs.cpp +++ b/src/envfs.cpp @@ -315,12 +315,6 @@ void forEachEntryImpl( break; } } - - // This might be returning early in some unknown cases! Testing - //if (AllocSize - iosb.Information > (ULONG)FIELD_OFFSET(FILE_DIRECTORY_INFORMATION, FileName[256])) { - // // NO_MORE_FILES - // break; - //} } } -- cgit v1.3.1