Ryujinx/Ryujinx.HLE/HOS/Kernel/MemoryPermission.cs

18 lines
315 B
C#
Raw Normal View History

using System;
namespace Ryujinx.HLE.HOS.Kernel
{
[Flags]
2018-12-01 21:38:15 +01:00
internal enum MemoryPermission : byte
{
None = 0,
Mask = 0xff,
Read = 1 << 0,
Write = 1 << 1,
Execute = 1 << 2,
ReadAndWrite = Read | Write,
ReadAndExecute = Read | Execute
}
}