aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs')
-rw-r--r--Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs b/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs
new file mode 100644
index 00000000..13ba6f18
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Tamper/MemoryRegion.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Ryujinx.HLE.HOS.Tamper
+{
+ /// <summary>
+ /// The regions in the virtual address space of the process that are used as base address of memory operations.
+ /// </summary>
+ enum MemoryRegion
+ {
+ /// <summary>
+ /// The position of the NSO associated with the cheat in the virtual address space.
+ /// NOTE: A game can have several NSOs, but the cheat only associates itself with one.
+ /// </summary>
+ NSO = 0x0,
+
+ /// <summary>
+ /// The address of the heap, as determined by the kernel.
+ /// </summary>
+ Heap = 0x1
+ }
+}