Ram Watch/Search - also disable freezing if a domain is not writable
This commit is contained in:
parent
7ed8704555
commit
71d7c2537a
|
@ -1173,10 +1173,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
RemoveMenuItem.Enabled =
|
||||
AddToRamWatchMenuItem.Enabled =
|
||||
FreezeAddressMenuItem.Enabled =
|
||||
SelectedIndices.Any();
|
||||
|
||||
PokeAddressMenuItem.Enabled =
|
||||
FreezeAddressMenuItem.Enabled =
|
||||
SelectedIndices.Any() &&
|
||||
SelectedWatches.All(w => w.Domain.CanPoke());
|
||||
|
||||
|
@ -1388,6 +1388,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
SelectedIndices.Any();
|
||||
|
||||
PokeContextMenuItem.Enabled =
|
||||
FreezeContextMenuItem.Visible =
|
||||
SelectedIndices.Any() &&
|
||||
SelectedWatches.All(w => w.Domain.CanPoke());
|
||||
|
||||
|
|
|
@ -687,10 +687,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
RemoveWatchMenuItem.Enabled =
|
||||
MoveUpMenuItem.Enabled =
|
||||
MoveDownMenuItem.Enabled =
|
||||
FreezeAddressMenuItem.Enabled =
|
||||
SelectedIndices.Any();
|
||||
|
||||
PokeAddressMenuItem.Enabled =
|
||||
FreezeAddressMenuItem.Enabled =
|
||||
SelectedIndices.Any() &&
|
||||
SelectedWatches.All(w => w.Domain.CanPoke());
|
||||
|
||||
|
@ -1012,6 +1012,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
indexes.Count > 0;
|
||||
|
||||
PokeContextMenuItem.Enabled =
|
||||
FreezeContextMenuItem.Visible =
|
||||
SelectedIndices.Any() &&
|
||||
SelectedWatches.All(w => w.Domain.CanPoke());
|
||||
|
||||
|
|
Loading…
Reference in New Issue