Skip to content

Commit

Permalink
Fix page mapping rights to file mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed May 13, 2021
1 parent 4e12e70 commit 2a26bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/util/vm_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 2a26bc6

Please sign in to comment.