From c58ad0153e16825d1e7a1bdbede5e8d41b6cd784 Mon Sep 17 00:00:00 2001 From: ahm3dgg Date: Fri, 9 Jan 2026 03:41:22 +0200 Subject: [PATCH] We can only wish --- src/windows-emulator/syscalls.cpp | 2 +- src/windows-emulator/syscalls/section.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 65560235..d3ad0bca 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -363,7 +363,7 @@ namespace syscalls emulator_object return_length); NTSTATUS handle_NtQuerySecurityAttributesToken(); NTSTATUS handle_NtAdjustPrivilegesToken(); - NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, handle process_handle, const emulator_object base_address, + NTSTATUS handle_NtFlushInstructionCache(const syscall_context& c, handle process_handle, emulator_object base_address, uint64_t region_size); NTSTATUS handle_NtQueryPerformanceCounter(const syscall_context& c, const emulator_object performance_counter, diff --git a/src/windows-emulator/syscalls/section.cpp b/src/windows-emulator/syscalls/section.cpp index b3f2aef5..26659907 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"))) + if (is_known_dll && filename.starts_with(u"win32u.dll")) { return STATUS_OBJECT_NAME_NOT_FOUND; }