fix ChangeCount logic in MiniWatchDetails

fixes another case of #4001 for ram search
This commit is contained in:
Morilli 2024-09-03 01:37:18 +02:00
parent 39ca6ce628
commit 70f7238d96
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ namespace BizHawk.Client.Common.RamSearchEngine
public void Update(PreviousType type, MemoryDomain domain, bool bigEndian)
{
var value = MiniWordWatch.GetUshort(Address, domain, bigEndian);
if (value != Previous)
if (value != _prevFrame)
{
ChangeCount++;
}
@ -151,7 +151,7 @@ namespace BizHawk.Client.Common.RamSearchEngine
public void Update(PreviousType type, MemoryDomain domain, bool bigEndian)
{
var value = MiniDWordWatch.GetUint(Address, domain, bigEndian);
if (value != Previous)
if (value != _prevFrame)
{
ChangeCount++;
}