mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
24 lines
919 B
C#
24 lines
919 B
C#
|
using Ryujinx.Memory.Tracking;
|
|||
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.Cpu.Tracking
|
|||
|
{
|
|||
|
public class CpuMultiRegionHandle : IMultiRegionHandle
|
|||
|
{
|
|||
|
private readonly MultiRegionHandle _impl;
|
|||
|
|
|||
|
public bool Dirty => _impl.Dirty;
|
|||
|
|
|||
|
internal CpuMultiRegionHandle(MultiRegionHandle impl)
|
|||
|
{
|
|||
|
_impl = impl;
|
|||
|
}
|
|||
|
|
|||
|
public void Dispose() => _impl.Dispose();
|
|||
|
public void QueryModified(Action<ulong, ulong> modifiedAction) => _impl.QueryModified(modifiedAction);
|
|||
|
public void QueryModified(ulong address, ulong size, Action<ulong, ulong> modifiedAction) => _impl.QueryModified(address, size, modifiedAction);
|
|||
|
public void QueryModified(ulong address, ulong size, Action<ulong, ulong> modifiedAction, int sequenceNumber) => _impl.QueryModified(address, size, modifiedAction, sequenceNumber);
|
|||
|
public void SignalWrite() => _impl.SignalWrite();
|
|||
|
}
|
|||
|
}
|