fix some cheat related things I broke when refactoring it

This commit is contained in:
adelikat 2013-11-05 15:36:18 +00:00
parent 29dffc9bca
commit 2da8696b8d
2 changed files with 3 additions and 6 deletions

View File

@ -355,7 +355,7 @@ namespace BizHawk.Client.Common
}
}
Changes = true;
Changes = false;
return true;
}

View File

@ -1661,14 +1661,11 @@ namespace BizHawk.Client.EmuHawk
private void Cheats_Restart()
{
if (GlobalWin.Tools.Has<Cheats>())
{
GlobalWin.Tools.Restart<Cheats>();
}
else
if (!GlobalWin.Tools.Has<Cheats>())
{
Global.CheatList.NewList(GenerateDefaultCheatFilename());
}
//If Cheat tool is loaded, restarting will restart the list too anyway
}
//contains a mapping: profilename->exepath ; or null if the exe wasnt available