diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs index 5b5564bdc8..4cdad461d6 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs @@ -20,6 +20,7 @@ namespace BizHawk.Client.EmuHawk private bool _initializing; // If true, will bypass restart logic, this is necessary since loading projects causes a movie to load which causes a rom to reload causing dialogs to restart private int _lastRefresh; + private bool _doPause; private void UpdateProgressBar() { @@ -93,6 +94,12 @@ namespace BizHawk.Client.EmuHawk refreshNeeded = true; } + if (Settings.AutoPause) + { + if (_doPause && CurrentTasMovie.IsAtEnd()) MainForm.PauseEmulator(); + _doPause = !CurrentTasMovie.IsAtEnd(); + } + RefreshDialog(refreshNeeded, refreshBranches: false); UpdateProgressBar(); } diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index a9895be1d2..5246704ccb 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -65,7 +65,7 @@ namespace BizHawk.Client.EmuHawk public TAStudioSettings() { RecentTas = new RecentFiles(8); - AutoPause = true; + AutoPause = false; FollowCursor = true; ScrollSpeed = 6; FollowCursorAlwaysScroll = false;