On loadstate clear "button start" values in the autofire logic
This commit is contained in:
parent
8c4696609d
commit
3303652d99
|
@ -248,6 +248,11 @@ namespace BizHawk.Client.Common
|
|||
return _buttons[button];
|
||||
}
|
||||
|
||||
public void ClearStarts()
|
||||
{
|
||||
_buttonStarts.Clear();
|
||||
}
|
||||
|
||||
public float GetFloat(string name) { throw new NotImplementedException(); }
|
||||
|
||||
// look for bindings which are activated by the supplied physical button.
|
||||
|
|
|
@ -2382,6 +2382,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
GlobalWin.Tools.UpdateToolsBefore(fromLua);
|
||||
UpdateToolsAfter(fromLua);
|
||||
UpdateToolsLoadstate();
|
||||
Global.AutoFireController.ClearStarts();
|
||||
GlobalWin.OSD.AddMessage("Loaded state: " + userFriendlyStateName);
|
||||
|
||||
if (GlobalWin.Tools.Has<LuaConsole>())
|
||||
|
|
Loading…
Reference in New Issue