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() public void ClearStickies()
{ {
stickySet.Clear(); stickySet.Clear();
_floatSet.Clear();
} }
public void MassToggleStickyState(List<string> buttons) public void MassToggleStickyState(List<string> buttons)

View File

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