mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-23 05:31:03 +00:00
Workaround win32u only
This commit is contained in:
@@ -363,8 +363,8 @@ namespace syscalls
|
||||
emulator_object<ULONG> return_length);
|
||||
NTSTATUS handle_NtQuerySecurityAttributesToken();
|
||||
NTSTATUS handle_NtAdjustPrivilegesToken();
|
||||
NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, const handle process_handle,
|
||||
const emulator_object<uint64_t> base_address, const uint64_t region_size);
|
||||
NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, handle process_handle, const emulator_object<uint64_t> base_address,
|
||||
uint64_t region_size);
|
||||
|
||||
NTSTATUS handle_NtQueryPerformanceCounter(const syscall_context& c, const emulator_object<LARGE_INTEGER> performance_counter,
|
||||
const emulator_object<LARGE_INTEGER> performance_frequency)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user