From e9bd94d6d8894121ae8dd99929a26c0b0ed1ff96 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 21 Dec 2024 11:31:54 +0100 Subject: [PATCH] Map synchronization access to read --- src/windows-emulator/syscalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows-emulator/syscalls.cpp b/src/windows-emulator/syscalls.cpp index 63a61f06..973bfd8b 100644 --- a/src/windows-emulator/syscalls.cpp +++ b/src/windows-emulator/syscalls.cpp @@ -2140,7 +2140,7 @@ namespace { mode = L"r+b"; } - else if (desired_access & GENERIC_READ) + else if (desired_access & GENERIC_READ || desired_access & SYNCHRONIZE) { mode = L"rb"; }