Ryujinx/Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs

15 lines
329 B
C#
Raw Normal View History

2019-10-12 23:02:07 -07:00
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, ResourceName name);
2019-10-12 23:02:07 -07:00
}
}