Map synchronization access to read

This commit is contained in:
momo5502
2024-12-21 11:31:54 +01:00
parent 7633a4bbab
commit e9bd94d6d8

View File

@@ -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";
}