diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/PatternsForm.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/PatternsForm.cs index 8a88802be2..b45a4e8286 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/PatternsForm.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/PatternsForm.cs @@ -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;