Cheat Dialog - fix issue #535 - domain list does not update when changing cores
This commit is contained in:
parent
4942ae7905
commit
26f1c2c2ec
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -73,6 +73,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
public void Restart()
|
public void Restart()
|
||||||
{
|
{
|
||||||
CheatEditor.MemoryDomains = Core;
|
CheatEditor.MemoryDomains = Core;
|
||||||
|
CheatEditor.Restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue