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

18 lines
306 B
C#
Raw Normal View History

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