From bc44e97e1e24b9e5d78c6b79a1dba3b18556924c Mon Sep 17 00:00:00 2001 From: Belal Ashraf Date: Fri, 5 Apr 2024 01:07:56 +0200 Subject: [PATCH] fix formatting --- src/core/hle/kernel/k_memory_block.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/kernel/k_memory_block.h b/src/core/hle/kernel/k_memory_block.h index 70e1dfa3fb..f98cba3984 100644 --- a/src/core/hle/kernel/k_memory_block.h +++ b/src/core/hle/kernel/k_memory_block.h @@ -176,7 +176,8 @@ constexpr KMemoryPermission ConvertToKMemoryPermission(Svc::MemoryPermission per (static_cast(perm) & KMemoryPermission::UserMask) | KMemoryPermission::KernelRead | ((static_cast(perm) & KMemoryPermission::UserWrite) - ? KMemoryPermission::KernelWrite : KMemoryPermission::None) | + ? KMemoryPermission::KernelWrite + : KMemoryPermission::None) | (perm == Svc::MemoryPermission::None ? KMemoryPermission::NotMapped : KMemoryPermission::None)); }