Cheat Dialog - fix issue #535 - domain list does not update when changing cores

This commit is contained in:
adelikat 2015-11-04 22:23:27 -05:00
parent 4942ae7905
commit 26f1c2c2ec
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,11 @@ namespace BizHawk.Client.EmuHawk
private Action _editCallback; private Action _editCallback;
private void CheatEdit_Load(object sender, EventArgs e) private void CheatEdit_Load(object sender, EventArgs e)
{
Restart();
}
public void Restart()
{ {
if (MemoryDomains != null) // the designer needs this check if (MemoryDomains != null) // the designer needs this check
{ {

View File

@ -73,6 +73,7 @@ namespace BizHawk.Client.EmuHawk
public void Restart() public void Restart()
{ {
CheatEditor.MemoryDomains = Core; CheatEditor.MemoryDomains = Core;
CheatEditor.Restart();
} }
/// <summary> /// <summary>