Fix AppVeyor build.
This commit is contained in:
parent
b01f52c01b
commit
a2215fb5df
|
@ -254,9 +254,13 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
ModifierState[button] = ie.LogicalButton;
|
||||
}
|
||||
else if (ModifierState.TryGetValue(button, out LogicalButton buttonModifierState))
|
||||
else
|
||||
{
|
||||
LogicalButton buttonModifierState;
|
||||
if (ModifierState.TryGetValue(button, out buttonModifierState))
|
||||
{
|
||||
if (buttonModifierState != ie.LogicalButton)
|
||||
{
|
||||
_NewEvents.Add(
|
||||
new InputEvent
|
||||
{
|
||||
|
@ -264,6 +268,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
EventType = InputEventType.Release,
|
||||
Source = source
|
||||
});
|
||||
}
|
||||
}
|
||||
ModifierState.Remove(button);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue