mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 10:21:21 +00:00
Fix page mapping rights to file mapping
This commit is contained in:
parent
4e12e70929
commit
2a26bc6668
@ -347,7 +347,7 @@ namespace utils
|
||||
}
|
||||
|
||||
ensure(f.trunc(m_size));
|
||||
m_handle = ensure(::CreateFileMappingW(f.get_handle(), nullptr, PAGE_WRITECOPY, 0, 0, nullptr));
|
||||
m_handle = ensure(::CreateFileMappingW(f.get_handle(), nullptr, PAGE_READWRITE, 0, 0, nullptr));
|
||||
#else
|
||||
if (!storage.empty())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user