diff options
Diffstat (limited to 'Ryujinx.Memory/MemoryAllocationFlags.cs')
-rw-r--r-- | Ryujinx.Memory/MemoryAllocationFlags.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Ryujinx.Memory/MemoryAllocationFlags.cs b/Ryujinx.Memory/MemoryAllocationFlags.cs index d9420dd3..8706a25b 100644 --- a/Ryujinx.Memory/MemoryAllocationFlags.cs +++ b/Ryujinx.Memory/MemoryAllocationFlags.cs @@ -29,6 +29,18 @@ namespace Ryujinx.Memory /// Enables mirroring of the memory block through aliasing of memory pages. /// When enabled, this allows creating more memory blocks sharing the same backing storage. /// </summary> - Mirrorable = 1 << 2 + Mirrorable = 1 << 2, + + /// <summary> + /// Indicates that the memory block should support mapping views of a mirrorable memory block. + /// The block that is to have their views mapped should be created with the <see cref="Mirrorable"/> flag. + /// </summary> + ViewCompatible = 1 << 3, + + /// <summary> + /// Forces views to be mapped page by page on Windows. When partial unmaps are done, this avoids the need + /// to unmap the full range and remap sub-ranges, which creates a time window with incorrectly unmapped memory. + /// </summary> + ForceWindows4KBViewMapping = 1 << 4 } } |