fix some cheat related things I broke when refactoring it
This commit is contained in:
parent
29dffc9bca
commit
2da8696b8d
|
@ -355,7 +355,7 @@ namespace BizHawk.Client.Common
|
|||
}
|
||||
}
|
||||
|
||||
Changes = true;
|
||||
Changes = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue