mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 11:20:48 -07:00
Initial work
This commit is contained in:
15
Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs
Normal file
15
Ryujinx.Graphics.Gpu/Memory/IPhysicalMemory.cs
Normal file
@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user