diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 9b29022a..65560235 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -363,8 +363,8 @@ namespace syscalls emulator_object return_length); NTSTATUS handle_NtQuerySecurityAttributesToken(); NTSTATUS handle_NtAdjustPrivilegesToken(); - NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, const handle process_handle, - const emulator_object base_address, const uint64_t region_size); + NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, handle process_handle, const emulator_object base_address, + uint64_t region_size); NTSTATUS handle_NtQueryPerformanceCounter(const syscall_context& c, const emulator_object performance_counter, const emulator_object performance_frequency) diff --git a/src/windows-emulator/syscalls/section.cpp b/src/windows-emulator/syscalls/section.cpp index 62daac17..389b7815 100644 --- a/src/windows-emulator/syscalls/section.cpp +++ b/src/windows-emulator/syscalls/section.cpp @@ -119,7 +119,7 @@ namespace syscalls } utils::string::to_lower_inplace(filename); - if (is_known_dll && (filename.starts_with(u"win32u.dll") || filename.starts_with(u"ntdll.dll"))) + if (is_known_dll && (filename.starts_with(u"win32u.dll")) { return STATUS_OBJECT_NAME_NOT_FOUND; }