From 6e5c7255344550c029721cef5dfc8ed91ed04cb4 Mon Sep 17 00:00:00 2001 From: Antonio Date: Wed, 4 Sep 2024 16:02:03 -0400 Subject: [PATCH] Changes for MemoryProt Format --- src/core/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 6a6b76644..3e9ce769d 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -373,7 +373,7 @@ int MemoryManager::MTypeProtect(VAddr addr, size_t size, VMAType mtype, MemoryPr MemoryProt invalid_flags = prot & ~valid_flags; if (u32(invalid_flags) != 0 && u32(invalid_flags) != u32(MemoryProt::NoAccess)) { LOG_ERROR(Core, "Invalid protection flags: prot = {:#x}, invalid flags = {:#x}", u32(prot), - invalid_flags); + u32(invalid_flags)); return ORBIS_KERNEL_ERROR_EINVAL; }