Cheats - only allow writable domains in the domains dropdown

This commit is contained in:
adelikat 2015-01-25 16:20:53 +00:00
parent 38a4765123
commit e1811371e4
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -180,8 +180,6 @@ namespace BizHawk.Emulation.Common.IEmulatorExtensions
}
return true;
}
// TODO: a better place for these