TAStudio: autofirre pattern repeating zero times should not be allowed, fixes #2910
This commit is contained in:
parent
2f344f8ffd
commit
883d74d2cd
|
@ -130,6 +130,12 @@ namespace BizHawk.Client.EmuHawk
|
|||
return;
|
||||
}
|
||||
|
||||
// repeating zero times is not allowed
|
||||
if ((int)CountNum.Value == 0)
|
||||
{
|
||||
CountNum.Value = 1;
|
||||
}
|
||||
|
||||
if (PatternList.SelectedIndex == _counts.Count)
|
||||
{
|
||||
_loopAt = (int)CountNum.Value;
|
||||
|
|
Loading…
Reference in New Issue