Cheats - only allow writable domains in the domains dropdown
This commit is contained in:
parent
38a4765123
commit
e1811371e4
|
@ -4,6 +4,7 @@ using System.Windows.Forms;
|
|||
|
||||
using BizHawk.Client.Common;
|
||||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
|
@ -35,6 +36,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
DomainDropDown.Items.Clear();
|
||||
DomainDropDown.Items.AddRange(MemoryDomains
|
||||
.Where(d => d.CanPoke())
|
||||
.Select(d => d.ToString())
|
||||
.ToArray());
|
||||
|
||||
|
|
|
@ -180,8 +180,6 @@ namespace BizHawk.Emulation.Common.IEmulatorExtensions
|
|||
}
|
||||
|
||||
return true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
// TODO: a better place for these
|
||||
|
|
Loading…
Reference in New Issue