Ryujinx/Ryujinx.HLE/HOS/Kernel/MemoryPermission.cs
2018-12-01 14:38:15 -06:00

18 lines
No EOL
315 B
C#

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