fix formatting

This commit is contained in:
null 2024-04-05 01:07:56 +02:00 committed by Exverge
parent 5002fde374
commit 96db423b41

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));
}