mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
More random changes
This commit is contained in:
parent
a485957130
commit
a16d8ba3ea
211 changed files with 576 additions and 748 deletions
|
|
@ -259,10 +259,9 @@ namespace utils
|
|||
shm::shm(u32 size, u32 flags)
|
||||
: m_size(utils::align(size, 0x10000))
|
||||
, m_flags(flags)
|
||||
, m_ptr(nullptr)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
m_handle = ::CreateFileMappingW(INVALID_HANDLE_VALUE, NULL, PAGE_EXECUTE_READWRITE, 0, m_size, NULL);
|
||||
m_handle = ::CreateFileMappingW(INVALID_HANDLE_VALUE, nullptr, PAGE_EXECUTE_READWRITE, 0, m_size, nullptr);
|
||||
ensure(m_handle != INVALID_HANDLE_VALUE);
|
||||
#elif __linux__
|
||||
m_file = -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue