mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-24 07:06:49 +00:00
15 lines
329 B
C#
15 lines
329 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, ResourceName name);
|
|
}
|
|
} |