fix formatting

This commit is contained in:
Belal Ashraf 2024-04-05 01:07:56 +02:00 committed by Exverge
parent 5002fde374
commit 96db423b41
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ constexpr KMemoryPermission ConvertToKMemoryPermission(Svc::MemoryPermission per
(static_cast<KMemoryPermission>(perm) & KMemoryPermission::UserMask) |
KMemoryPermission::KernelRead |
((static_cast<KMemoryPermission>(perm) & KMemoryPermission::UserWrite)
? KMemoryPermission::KernelWrite : KMemoryPermission::None) |
? KMemoryPermission::KernelWrite
: KMemoryPermission::None) |
(perm == Svc::MemoryPermission::None ? KMemoryPermission::NotMapped
: KMemoryPermission::None));
}