Ram Watch - don't refresh dialog if no addresses (keeps the dialog from slowing the emulator down when it has no watches)
This commit is contained in:
parent
a40bda3263
commit
3857c27f93
|
@ -53,6 +53,9 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (Watches.Any())
|
||||
{
|
||||
Watches.UpdateValues();
|
||||
|
||||
if (Global.Config.DisplayRamWatch)
|
||||
|
@ -72,12 +75,14 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if (!IsHandleCreated || IsDisposed) return;
|
||||
|
||||
WatchListView.BlazingFast = true;
|
||||
WatchListView.Refresh();
|
||||
WatchListView.BlazingFast = false;
|
||||
}
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue