ugh, didn't mean to remove the lock in Input.cs

This commit is contained in:
adelikat 2020-05-23 14:02:43 -05:00
parent 0f1066fe93
commit 22bab8361a
1 changed files with 5 additions and 1 deletions

View File

@ -324,7 +324,11 @@ namespace BizHawk.Client.EmuHawk
public IDictionary<string, float> GetAxisValues()
{
return _axisValues;
lock (_axisValues)
{
return _axisValues.ToDictionary(d => d.Key, d => d.Value);
}
}
private void UpdateThreadProc()