mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-21 04:33:56 +00:00
Map synchronization access to read
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user