Previous commit was a lie, it implemented ICollection instead, therefore change the name of the object to CheatCollection

This commit is contained in:
adelikat 2013-11-16 16:30:20 +00:00
parent a4d3e68f66
commit 79b2e03d84
4 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ namespace BizHawk.Client.Common
public static Config Config;
public static GameInfo Game;
public static CheatList CheatList;
public static CheatCollection CheatList;
public static FirmwareManager FirmwareManager;
//Movie

View File

@ -9,7 +9,7 @@ using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
public class CheatList : ICollection<Cheat>, IEnumerable<Cheat>
public class CheatCollection : ICollection<Cheat>
{
private bool _changes;
public bool Changes

View File

@ -83,7 +83,7 @@ namespace BizHawk.Client.EmuHawk
FFMpeg.FFMpegPath = PathManager.MakeProgramRelativePath(Global.Config.FFMpegPath);
Global.CheatList = new CheatList();
Global.CheatList = new CheatCollection();
Global.CheatList.Changed += ToolHelpers.UpdateCheatRelatedTools;
UpdateStatusSlots();

View File

@ -205,7 +205,7 @@ namespace BizHawk.Client.EmuHawk
}
}
public static void UpdateCheatRelatedTools(object sender, CheatList.CheatListEventArgs e)
public static void UpdateCheatRelatedTools(object sender, CheatCollection.CheatListEventArgs e)
{
GlobalWin.Tools.UpdateValues<RamWatch>();
GlobalWin.Tools.UpdateValues<RamSearch>();