fix issue 229 - float autoholds were not being cleared when closing a rom

This commit is contained in:
adelikat 2014-07-26 15:31:36 +00:00
parent b69b141a05
commit ede560fe1a
2 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,7 @@ namespace BizHawk.Client.Common
public void ClearStickies()
{
stickySet.Clear();
_floatSet.Clear();
}
public void MassToggleStickyState(List<string> buttons)

View File

@ -3300,6 +3300,7 @@ namespace BizHawk.Client.EmuHawk
_stateSlots.Clear();
UpdateDumpIcon();
UpdateCoreStatusBarButton();
ClearHolds();
ToolHelpers.UpdateCheatRelatedTools(null, null);
}
}