Ryujinx/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs
2020-01-09 02:13:00 +01:00

15 lines
No EOL
310 B
C#

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);
}
}