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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1661,14 +1661,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
private void Cheats_Restart()
|
private void Cheats_Restart()
|
||||||
{
|
{
|
||||||
if (GlobalWin.Tools.Has<Cheats>())
|
if (!GlobalWin.Tools.Has<Cheats>())
|
||||||
{
|
|
||||||
GlobalWin.Tools.Restart<Cheats>();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
Global.CheatList.NewList(GenerateDefaultCheatFilename());
|
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
|
//contains a mapping: profilename->exepath ; or null if the exe wasnt available
|
||||||
|
|
Loading…
Reference in New Issue