mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 01:28:34 +00:00
57ea3f93a3
* PPTC meets ExeFS Patching. * InternalVersion = 1865 * Ready! * Optimized the PtcProfiler Load/Save methods.
23 lines
585 B
C#
23 lines
585 B
C#
using System;
|
|
|
|
namespace ARMeilleure.Memory
|
|
{
|
|
public interface IMemoryManager
|
|
{
|
|
int AddressSpaceBits { get; }
|
|
|
|
IntPtr PageTablePointer { get; }
|
|
|
|
T Read<T>(ulong va) where T : unmanaged;
|
|
T ReadTracked<T>(ulong va) where T : unmanaged;
|
|
void Write<T>(ulong va, T value) where T : unmanaged;
|
|
|
|
ReadOnlySpan<byte> GetSpan(ulong va, int size, bool tracked = false);
|
|
|
|
ref T GetRef<T>(ulong va) where T : unmanaged;
|
|
|
|
bool IsMapped(ulong va);
|
|
|
|
void SignalMemoryTracking(ulong va, ulong size, bool write);
|
|
}
|
|
} |