ryujinx-mirror/Ryujinx.HLE/HOS/Kernel/Memory/MemoryPermission.cs

18 lines
313 B
C#
Raw Normal View History

using System;
namespace Ryujinx.HLE.HOS.Kernel.Memory
{
[Flags]
enum MemoryPermission : byte
{
None = 0,
Mask = 0xff,
Read = 1 << 0,
Write = 1 << 1,
Execute = 1 << 2,
ReadAndWrite = Read | Write,
ReadAndExecute = Read | Execute
}
}