diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-25 11:40:42 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-25 15:40:12 +0200 |
commit | b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb (patch) | |
tree | 16eb07e5639804668e520707beebeebc90105d04 /src/core/hle/kernel/shared_memory.cpp | |
parent | kernel/error: Correct kernel error code for invalid combination (diff) | |
download | yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar.gz yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar.bz2 yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar.lz yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar.xz yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.tar.zst yuzu-b8be5524bc3fd9c1d31a4a56cb321840c42ef0bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/shared_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp index 21ddc2f7d..fc168d2b5 100644 --- a/src/core/hle/kernel/shared_memory.cpp +++ b/src/core/hle/kernel/shared_memory.cpp @@ -101,7 +101,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi static_cast<u32>(this->permissions) & ~static_cast<u32>(other_permissions)) { LOG_ERROR(Kernel, "cannot map id={}, address=0x{:X} name={}, permissions don't match", GetObjectId(), address, name); - return ERR_WRONG_PERMISSION; + return ERR_INVALID_MEMORY_PERMISSIONS; } VAddr target_address = address; |