mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
''
This commit is contained in:
parent
95942f19b1
commit
e2d8a48855
@ -365,7 +365,7 @@ int MemoryManager::MTypeProtect(VAddr addr, size_t size, VMAType mtype, MemoryPr
|
|||||||
return ORBIS_KERNEL_ERROR_EINVAL;
|
return ORBIS_KERNEL_ERROR_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate protection flag
|
// Validate protection flags
|
||||||
constexpr static MemoryProt valid_flags = MemoryProt::NoAccess | MemoryProt::CpuRead |
|
constexpr static MemoryProt valid_flags = MemoryProt::NoAccess | MemoryProt::CpuRead |
|
||||||
MemoryProt::CpuReadWrite | MemoryProt::GpuRead |
|
MemoryProt::CpuReadWrite | MemoryProt::GpuRead |
|
||||||
MemoryProt::GpuWrite | MemoryProt::GpuReadWrite;
|
MemoryProt::GpuWrite | MemoryProt::GpuReadWrite;
|
||||||
|
Loading…
Reference in New Issue
Block a user