Previous commit was a lie, it implemented ICollection instead, therefore change the name of the object to CheatCollection
This commit is contained in:
parent
a4d3e68f66
commit
79b2e03d84
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue