fix formatting

This commit is contained in:
Belal Ashraf 2024-04-05 01:07:56 +02:00
parent f6b640961f
commit bc44e97e1e

View file

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