diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 3e9ce769d..e45f9b25a 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -365,7 +365,7 @@ int MemoryManager::MTypeProtect(VAddr addr, size_t size, VMAType mtype, MemoryPr return ORBIS_KERNEL_ERROR_EINVAL; } - // Validate protection flags + // Validate protection flag constexpr static MemoryProt valid_flags = MemoryProt::NoAccess | MemoryProt::CpuRead | MemoryProt::CpuReadWrite | MemoryProt::GpuRead | MemoryProt::GpuWrite | MemoryProt::GpuReadWrite;