aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/Tracking/IRegionHandle.cs
blob: 28bae8328c4348e635ab75bb6db5ed785f9e83b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

namespace Ryujinx.Memory.Tracking
{
    public interface IRegionHandle : IDisposable
    {
        bool Dirty { get; }

        ulong Address { get; }
        ulong Size { get; }
        ulong EndAddress { get; }

        void ForceDirty();
        void Reprotect(bool asDirty = false);
        void RegisterAction(RegionSignal action);
        void RegisterPreciseAction(PreciseRegionSignal action);
    }
}