mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-24 13:15:47 +00:00
ff8849671a
* Enable write to memory and improve logging * Update tamper machine opcodes and improve reporting * Add Else support * Add missing private statement
35 lines
1 KiB
C#
35 lines
1 KiB
C#
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,
|
|
|
|
/// <summary>
|
|
/// The address of the alias region, as determined by the kernel.
|
|
/// </summary>
|
|
Alias = 0x2,
|
|
|
|
/// <summary>
|
|
/// The address of the code region with address space layout randomization included.
|
|
/// </summary>
|
|
Asrl = 0x3,
|
|
}
|
|
}
|