diff options
author | N00byKing <N00byKing@hotmail.de> | 2018-03-19 17:07:08 +0100 |
---|---|---|
committer | N00byKing <N00byKing@hotmail.de> | 2018-03-19 17:07:08 +0100 |
commit | ef875d6a356fef22d52ec2cdf2a326297740ff66 (patch) | |
tree | 8565762859d7be0329fb5991819b8381c690527d /src/core/hle/kernel/shared_memory.cpp | |
parent | Merge pull request #251 from Subv/tic_tsc (diff) | |
download | yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.gz yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.bz2 yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.lz yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.xz yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.zst yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.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 4d6cd7462..1875dd8d0 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)) { - LOG_ERROR(Kernel, "cannot map id=%u, address=0x%llx name=%s, permissions don't match", + LOG_ERROR(Kernel, "cannot map id=%u, address=0x%lx name=%s, permissions don't match", GetObjectId(), address, name.c_str()); 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)) { - LOG_ERROR(Kernel, "cannot map id=%u, address=0x%llx name=%s, permissions don't match", + LOG_ERROR(Kernel, "cannot map id=%u, address=0x%lx name=%s, permissions don't match", GetObjectId(), address, name.c_str()); return ERR_WRONG_PERMISSION; } @@ -145,7 +145,7 @@ ResultCode SharedMemory::Map(Process* target_process, VAddr address, MemoryPermi if (result.Failed()) { LOG_ERROR( Kernel, - "cannot map id=%u, target_address=0x%llx name=%s, error mapping to virtual memory", + "cannot map id=%u, target_address=0x%lx name=%s, error mapping to virtual memory", GetObjectId(), target_address, name.c_str()); return result.Code(); } |