VirtualPad - basic buttons - when right-clicking for autofire, respect the frame that autofire started on

This commit is contained in:
adelikat 2015-01-03 20:05:04 +00:00
parent 7f6e651c08
commit 6835da1e45
1 changed files with 4 additions and 2 deletions

View File

@ -452,11 +452,13 @@ namespace BizHawk.Client.Common
{ {
if (isSticky) if (isSticky)
{ {
this._stickySet.Add(button); _stickySet.Add(button);
buttonStarts.Add(button, Global.Emulator.Frame);
} }
else else
{ {
this._stickySet.Remove(button); _stickySet.Remove(button);
buttonStarts.Remove(button);
} }
} }