expose Current value in IMiniWatchDetails

This commit is contained in:
Morilli 2024-09-03 01:23:40 +02:00
parent b90e40ae5c
commit e09bfa8ca9
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,7 @@ namespace BizHawk.Client.Common.RamSearchEngine
/// </summary>
internal interface IMiniWatchDetails : IMiniWatch
{
uint Current { get; }
int ChangeCount { get; }
void ClearChangeCount();
void Update(PreviousType type, MemoryDomain domain, bool bigEndian);
@ -28,6 +29,8 @@ namespace BizHawk.Client.Common.RamSearchEngine
_previous = _current;
}
public uint Current => _current;
public int ChangeCount { get; private set; }
public void Update(PreviousType type, MemoryDomain domain, bool bigEndian)
@ -108,6 +111,8 @@ namespace BizHawk.Client.Common.RamSearchEngine
_previous = _current;
}
public uint Current => _current;
public int ChangeCount { get; private set; }
public void Update(PreviousType type, MemoryDomain domain, bool bigEndian)