mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Check if the known dll path exists first
This commit is contained in:
@@ -225,10 +225,8 @@ namespace syscalls
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
bool is_known_dll = (attributes.RootDirectory == KNOWN_DLLS_DIRECTORY
|
||||
|| attributes.RootDirectory == KNOWN_DLLS32_DIRECTORY
|
||||
|| filename.starts_with(u"\\KnownDlls")
|
||||
|| filename.starts_with(u"\\KnownDlls32"));
|
||||
bool is_known_dll = (attributes.RootDirectory == KNOWN_DLLS_DIRECTORY || attributes.RootDirectory == KNOWN_DLLS32_DIRECTORY ||
|
||||
filename.starts_with(u"\\KnownDlls") || filename.starts_with(u"\\KnownDlls32"));
|
||||
|
||||
if (!is_known_dll && attributes.RootDirectory != BASE_NAMED_OBJECTS_DIRECTORY)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user