diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs b/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs new file mode 100644 index 00000000..5f21704d --- /dev/null +++ b/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs @@ -0,0 +1,15 @@ +using System; + +namespace Ryujinx.Graphics.Gpu.Memory +{ + public interface IPhysicalMemory + { + int GetPageSize(); + + Span<byte> Read(ulong address, ulong size); + + void Write(ulong address, Span<byte> data); + + (ulong, ulong)[] GetModifiedRanges(ulong address, ulong size); + } +}
\ No newline at end of file |
