Simplify code and remove uncessary comments

This commit is contained in:
ahm3dgg
2026-01-09 13:35:38 +02:00
parent f41e7bf881
commit 58d6a10837
5 changed files with 12 additions and 19 deletions

View File

@@ -120,12 +120,6 @@ namespace syscalls
utils::string::to_lower_inplace(filename);
// Workaround for win32u.dll
if (is_known_dll && filename.starts_with(u"win32u.dll"))
{
return STATUS_OBJECT_NAME_NOT_FOUND;
}
if (attributes.RootDirectory == KNOWN_DLLS_DIRECTORY || filename.starts_with(u"\\knowndlls\\"))
{
auto& knowndlls_sections = c.win_emu.process.knowndlls64_sections;