TAStudio/PatternsForm: Allow looping to entry zero
This commit is contained in:
parent
0960661509
commit
07ba36956a
|
@ -130,18 +130,18 @@ 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;
|
||||
}
|
||||
else
|
||||
{
|
||||
// repeating zero times is not allowed
|
||||
if ((int)CountNum.Value == 0)
|
||||
{
|
||||
CountNum.Value = 1;
|
||||
}
|
||||
|
||||
_counts[PatternList.SelectedIndex] = (int)CountNum.Value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue