tastudio: fix analog values getting stuck in input port for new frames

interestingly, MovieControllerAdapter.LatchSticky() is only used by tastudio, so this shouldn't cause problems
This commit is contained in:
feos 2018-03-08 21:15:18 +03:00
parent 40e28f2f98
commit 9d95a520f9
1 changed files with 6 additions and 0 deletions

View File

@ -143,6 +143,12 @@ namespace BizHawk.Client.Common
{
_myBoolButtons[button] = Global.AutofireStickyXORAdapter.IsSticky(button);
}
// float controls don't have sticky logic. but old values remain in MovieOutputHardpoint if we don't update this here
foreach (var name in Definition.FloatControls)
{
_myFloatControls[name] = Global.AutofireStickyXORAdapter.GetFloat(name);
}
}
/// <summary>