Fix so that RamWatch & RamSearch update values is not running in the frame loop when they aren't open

This commit is contained in:
andres.delikat 2011-02-24 14:39:23 +00:00
parent f38c452da0
commit c2fec29463
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ namespace BizHawk.MultiClient
public void UpdateValues()
{
if (!this.IsHandleCreated || this.IsDisposed) return;
for (int x = 0; x < searchList.Count; x++)
{
searchList[x].prev = searchList[x].value;

View File

@ -47,6 +47,7 @@ namespace BizHawk.MultiClient
public void UpdateValues()
{
if (!this.IsHandleCreated || this.IsDisposed) return;
for (int x = 0; x < watchList.Count; x++)
{
watchList[x].prev = watchList[x].value;