diff options
author | Lioncash <mathew1800@gmail.com> | 2018-05-02 15:14:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-05-02 15:49:36 +0200 |
commit | 7c9644646f595605036b9fe9e51c44716ee60fa3 (patch) | |
tree | 20f8f60d78ed7db5c76629d452ed196d43dc3e78 /src/core/hle/kernel/shared_memory.cpp | |
parent | Merge pull request #429 from Subv/ioctl_corruption (diff) | |
download | yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.gz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.bz2 yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.lz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.xz yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.tar.zst yuzu-7c9644646f595605036b9fe9e51c44716ee60fa3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/shared_memory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/shared_memory.cpp b/src/core/hle/kernel/shared_memory.cpp index f0b65c73d..ac4921298 100644 --- a/src/core/hle/kernel/shared_memory.cpp +++ b/src/core/hle/kernel/shared_memory.cpp @@ -107,7 +107,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi // Error out if the requested permissions don't match what the creator process allows. if (static_cast<u32>(permissions) & ~static_cast<u32>(own_other_permissions)) { - NGLOG_ERROR(Kernel, "cannot map id={}, address={:#X} name={}, permissions don't match", + NGLOG_ERROR(Kernel, "cannot map id={}, address=0x{:X} name={}, permissions don't match", GetObjectId(), address, name); return ERR_INVALID_COMBINATION; } @@ -115,7 +115,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi // Error out if the provided permissions are not compatible with what the creator process needs. if (other_permissions != MemoryPermission::DontCare && static_cast<u32>(this->permissions) & ~static_cast<u32>(other_permissions)) { - NGLOG_ERROR(Kernel, "cannot map id={}, address={:#X} name={}, permissions don't match", + NGLOG_ERROR(Kernel, "cannot map id={}, address=0x{:X} name={}, permissions don't match", GetObjectId(), address, name); return ERR_WRONG_PERMISSION; } @@ -133,7 +133,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi if (result.Failed()) { NGLOG_ERROR( Kernel, - "cannot map id={}, target_address={:#X} name={}, error mapping to virtual memory", + "cannot map id={}, target_address=0x{:X} name={}, error mapping to virtual memory", GetObjectId(), target_address, name); return result.Code(); } |