aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Memory/Tracking/IRegionHandle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Memory/Tracking/IRegionHandle.cs')
-rw-r--r--src/Ryujinx.Memory/Tracking/IRegionHandle.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Ryujinx.Memory/Tracking/IRegionHandle.cs b/src/Ryujinx.Memory/Tracking/IRegionHandle.cs
new file mode 100644
index 00000000..9d99d90e
--- /dev/null
+++ b/src/Ryujinx.Memory/Tracking/IRegionHandle.cs
@@ -0,0 +1,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);
+ }
+}