diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs index 880445af5f..600a0579e6 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.MenuItems.cs @@ -862,7 +862,18 @@ namespace BizHawk.Client.EmuHawk DialogResult result = prompt.ShowDialog(); if (result == DialogResult.OK) { - int val = int.Parse(prompt.PromptText); + int val = 0; + try + { + val = int.Parse(prompt.PromptText); + } + catch + { + val = 100; + + MessageBox.Show("Invalid Entry. Restoring Default.", "Input Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + if (val > 0) { CurrentTasMovie.ChangeLog.MaxSteps = val;