Cheats - fix bug where it was using the recent ram watch list instead of the recent cheats list

This commit is contained in:
adelikat 2015-12-04 23:03:13 -05:00
parent 6e5b516741
commit c1b8e6c1d1
1 changed files with 2 additions and 2 deletions

View File

@ -95,11 +95,11 @@ namespace BizHawk.Client.EmuHawk
var loadResult = Global.CheatList.Load(path, append: false);
if (!loadResult)
{
Global.Config.RecentWatches.HandleLoadError(path);
Global.Config.RecentCheats.HandleLoadError(path);
}
else
{
Global.Config.RecentWatches.Add(path);
Global.Config.RecentCheats.Add(path);
UpdateDialog();
UpdateMessageLabel();
}