mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Fix 1
This commit is contained in:
parent
c71c5eb422
commit
c9f994d92d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ namespace vm
|
|||
|
||||
//return VirtualAlloc(nullptr, 0x100000000, MEM_RESERVE, PAGE_NOACCESS);
|
||||
#else
|
||||
g_memory_handle = shm_open("/rpcs3_vm", O_RDWR, 0);
|
||||
g_memory_handle = shm_open("/rpcs3_vm", O_RDWR | O_CREATE | O_EXCL, 0);
|
||||
|
||||
void* base_addr = mmap(nullptr, 0x100000000, PROT_NONE, MAP_PRIVATE, g_memory_handle, 0);
|
||||
g_priv_addr = mmap(nullptr, 0x100000000, PROT_NONE, MAP_PRIVATE, g_memory_handle, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue