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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Watches.Any())
|
||||||
|
{
|
||||||
Watches.UpdateValues();
|
Watches.UpdateValues();
|
||||||
|
|
||||||
if (Global.Config.DisplayRamWatch)
|
if (Global.Config.DisplayRamWatch)
|
||||||
|
@ -72,12 +75,14 @@ namespace BizHawk.MultiClient
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!IsHandleCreated || IsDisposed) return;
|
if (!IsHandleCreated || IsDisposed) return;
|
||||||
|
|
||||||
WatchListView.BlazingFast = true;
|
WatchListView.BlazingFast = true;
|
||||||
WatchListView.Refresh();
|
WatchListView.Refresh();
|
||||||
WatchListView.BlazingFast = false;
|
WatchListView.BlazingFast = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Restart()
|
public void Restart()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue