Change UnfreezeAll option on many tools to remove cheats not simply disable them.

This commit is contained in:
adelikat 2014-03-23 13:21:48 +00:00
parent e291b3d5fa
commit 6d1675e54c
4 changed files with 10 additions and 4 deletions

View File

@ -207,6 +207,12 @@ namespace BizHawk.Client.Common
Changes = true;
}
public void RemoveAll()
{
_cheatList.Clear();
Changes = true;
}
public void Clear()
{
_cheatList.Clear();

View File

@ -1391,7 +1391,7 @@ namespace BizHawk.Client.EmuHawk
private void UnfreezeAllMenuItem_Click(object sender, EventArgs e)
{
Global.CheatList.DisableAll();
Global.CheatList.RemoveAll();
}
private void PokeAddressMenuItem_Click(object sender, EventArgs e)
@ -1687,7 +1687,7 @@ namespace BizHawk.Client.EmuHawk
case Keys.Delete:
if (e.Modifiers == Keys.Shift)
{
Global.CheatList.DisableAll();
Global.CheatList.RemoveAll();
}
else
{

View File

@ -1410,7 +1410,7 @@ namespace BizHawk.Client.EmuHawk
private void UnfreezeAllContextMenuItem_Click(object sender, EventArgs e)
{
Global.CheatList.DisableAll();
Global.CheatList.RemoveAll();
}
private void ViewInHexEditorContextMenuItem_Click(object sender, EventArgs e)

View File

@ -1045,7 +1045,7 @@ namespace BizHawk.Client.EmuHawk
private void UnfreezeAllContextMenuItem_Click(object sender, EventArgs e)
{
Global.CheatList.DisableAll();
Global.CheatList.RemoveAll();
}
private void ViewInHexEditorContextMenuItem_Click(object sender, EventArgs e)