Ram Search - implement change count display

This commit is contained in:
andres.delikat 2011-02-20 00:38:31 +00:00
parent 255e8867f9
commit c6c422c96a
1 changed files with 7 additions and 1 deletions

View File

@ -35,9 +35,15 @@ namespace BizHawk.MultiClient
//TODO: update based on atype
for (int x = 0; x < searchList.Count; x++)
{
searchList[x].value = Global.Emulator.MainMemory.PeekByte(searchList[x].address);
searchList[x].prev = searchList[x].value;
//TODO: format based on asigned
searchList[x].value = Global.Emulator.MainMemory.PeekByte(searchList[x].address);
if (searchList[x].prev != searchList[x].value)
searchList[x].changecount++;
SearchListView.Items[x].SubItems[1].Text = searchList[x].value.ToString();
SearchListView.Items[x].SubItems[3].Text = searchList[x].changecount.ToString();
}
}