Compilation fix

This commit is contained in:
Nekotekina 2015-03-03 02:34:49 +03:00
parent 5f8cf18a5a
commit 8587ae5883
5 changed files with 35 additions and 29 deletions

View file

@ -37,7 +37,7 @@ namespace vm
return base_addr;
#else
int memory_handle = shm_open("/rpcs3_vm", O_RDWR | O_CREAT | O_EXCL, 0);
int memory_handle = shm_open("/rpcs3_vm", O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
if (memory_handle == -1)
{