summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-09-27 13:28:20 +0200
committerGitHub <noreply@github.com>2020-09-27 13:28:20 +0200
commit789e12a9f866790caaacb02b0542a048da463a74 (patch)
tree26891d7bc973dccdd10190d17e79630228f9b43f
parent7f4e83ea1119b8465a4a56a77106f50bae146aed (diff)
Remove incorrect early break in forEachEntry
This caused mo2 to skip some mod files for a user, potentially others as well.
-rw-r--r--src/envfs.cpp6
1 files changed, 0 insertions, 6 deletions
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;
- //}
}
}