/ src / Ryujinx.Memory / MemoryMapFlags.cs
MemoryMapFlags.cs
 1  using System;
 2  
 3  namespace Ryujinx.Memory
 4  {
 5      /// <summary>
 6      /// Flags that indicate how the host memory should be mapped.
 7      /// </summary>
 8      [Flags]
 9      public enum MemoryMapFlags
10      {
11          /// <summary>
12          /// No mapping flags.
13          /// </summary>
14          None = 0,
15  
16          /// <summary>
17          /// Indicates that the implementation is free to ignore the specified backing memory offset
18          /// and allocate its own private storage for the mapping.
19          /// This allows some mappings that would otherwise fail due to host platform restrictions to succeed.
20          /// </summary>
21          Private = 1 << 0,
22      }
23  }